| Class | Bundler::RubygemsIntegration |
| In: |
lib/bundler/rubygems_integration.rb
|
| Parent: | Object |
| EXT_LOCK | = | Gem::Ext::Builder::CHDIR_MONITOR |
| EXT_LOCK | = | Monitor.new |
This backports the correct segment generation code from Rubygems 1.4+ by monkeypatching it into the method in Rubygems 1.3.6 and 1.3.7.
TODO: This is for older versions of Rubygems… should we support the X-Gemfile-Source header on these old versions? Maybe the newer implementation will work on older Rubygems? It seems difficult to keep this implementation and still send the header.
Used to make bin stubs that are not created by bundler work under bundler. The new Gem.bin_path only considers gems in specs
Because Bundler has a static view of what specs are available, we don‘t refresh, so stub it out.