[rubygem-bundler/f20] Fix: load extensions correctly for both old and new RubyGems

Josef Stribny jstribny at fedoraproject.org
Thu Oct 16 16:15:12 UTC 2014


commit 1ecf581258ffaaebf51681d9bacc82cd1515af8e
Author: Josef Stribny <jstribny at redhat.com>
Date:   Thu Oct 16 17:48:50 2014 +0200

    Fix: load extensions correctly for both old and new RubyGems

 ...-for-binary-extensions-in-dedicated-folde.patch |    2 +-
 rubygem-bundler.spec                               |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/bundler-add-support-for-binary-extensions-in-dedicated-folde.patch b/bundler-add-support-for-binary-extensions-in-dedicated-folde.patch
index 14c34a2..ea650aa 100644
--- a/bundler-add-support-for-binary-extensions-in-dedicated-folde.patch
+++ b/bundler-add-support-for-binary-extensions-in-dedicated-folde.patch
@@ -15,7 +15,7 @@ index e9c9af2..912743f 100644
          end
        end
 +
-+      paths << File.join(ext_dir, require_paths.first) unless extensions.empty?
++      paths << File.join(ext_dir, require_paths.first) if self.respond_to? :ext_dir unless extensions.empty?
 +      paths
      end
  
diff --git a/rubygem-bundler.spec b/rubygem-bundler.spec
index 60a8347..fd0a16b 100644
--- a/rubygem-bundler.spec
+++ b/rubygem-bundler.spec
@@ -5,7 +5,7 @@
 Summary: Library and utilities to manage a Ruby application's gem dependencies
 Name: rubygem-%{gem_name}
 Version: 1.7.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://gembundler.com
@@ -134,6 +134,9 @@ EOF` rspec spec/
 %doc %{gem_docdir}
 
 %changelog
+* Thu Oct 16 2014 Josef Stribny <jstribny at redhat.com> - 1.7.3-2
+- Fix: load extensions correctly for both old and new RubyGems
+
 * Thu Sep 25 2014 Josef Stribny <jstribny at redhat.com> - 1.7.3-1
 - Update to 1.7.3
 


More information about the scm-commits mailing list