From 0abcc03623950eafddf0dd2bd1a96cea6756063f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20R=C3=BCckert?= Date: Wed, 17 Sep 2014 17:11:52 +0200 Subject: [PATCH 09/10] rubinius has no extensions docdir --- templates/sles12.gem_packages.spec.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sles12.gem_packages.spec.erb b/templates/sles12.gem_packages.spec.erb index e148494..d1734db 100644 --- a/templates/sles12.gem_packages.spec.erb +++ b/templates/sles12.gem_packages.spec.erb @@ -9,7 +9,7 @@ end def self.get_extension_doc_dir(gem_spec) - if gem_spec.respond_to? :extensions_dir + if gem_spec.respond_to?(:extensions_dir) && RUBY_ENGINE != 'rbx' rp = gem_spec.extensions_dir.rpartition(gem_spec.base_dir) return File.join(rp[1], 'doc', rp[2]) end -- 1.8.4.5