Bug 1054793
Summary: | Bundler cannot load native extensions | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> | ||||
Component: | rubygem-bundler | Assignee: | Vít Ondruch <vondruch> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | allen, besser82, bkabrda, jstribny, skottler, vondruch | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-05-02 12:06:29 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Vít Ondruch
2014-01-17 13:44:53 UTC
Vit, Here's a rebased patch for bundler 1.5.3 when used with RubyGems < 2.2.0 (rawhide has RubyGems 2.1.11), but if RubyGems was updated to 2.2.0+ in rawhide, then I think bundler 1.5.3+ would work without your/this patch. The bundler folks added support for your changes to Rubygems: bundler 1.5.3 lib/bundler/rubygems_ext.rb 36 def load_paths 37 return full_require_paths if respond_to?(:full_require_paths) 38 39 require_paths.map do |require_path| 40 if require_path.include?(full_gem_path) 41 require_path 42 else 43 File.join(full_gem_path, require_path) 44 end 45 end 46 end Isn't full_require_paths in RubyGems 2.2.0+ only? Created attachment 883473 [details]
rebase of Vit's patch for bundler 1.3.5
Hi Allen, Thanks for the patch. If it is not blocking you, I would wait for RubyGems 2.2 landing in Rawhide. Actually, I already requested side tag for Ruby 2.1, which ships with RubyGems 2.2, so hopefully, it should not take too long. Vit, No blocker for me. I've gone ahead and made my changes in my repository. I remember seeing your e-mail on the ruby-sig list. I thought I could help by providing something that at least gets bundler back to working state. I thought Mo was trying to get an upgraded bundler in RHEL 6? I looked at some other versions of bundler for my needs and I did two packages: one for bundler 1.3.6 and one for bundler 1.5.3. The 1.3.6 edition seems to be the latest version where it's use is meant for Ruby(ies) prior to 2.1.X and RubyGems prior to 2.2.0. Bundler 1.5.3 requires new stuff like RubyGems 2.2.0+ and rpsec 3.0.0.beta2 (to run test suite). Maybe just doing a bundler 1.3.6 would be sufficient where you aren't using Ruby 2.1.0+/RubyGems 2.2.0+? I did some testing of the new Rails 4.1 together with Bundler regarding the new RubyGems and everything works so far. Even updating to bundler 1.6.2 using `gem update` doesn't seem to break anything for me. So hopefully this is solved by the update. Josef, thanks for testing. Closing this now. |