method
preserve_paths
v2_6_3 -
Show latest stable
- Class:
Bundler::RubygemsIntegration::AlmostModern
preserve_paths()public
RubyGems [>= 1.8.0, < 1.8.5] has a bug that changes Gem.dir whenever you call Gem::Installer#install with an :install_dir set. We have to change it back for our sudo mode to work.