method

preserve_paths

ruby latest stable - Class: Bundler::RubygemsIntegration::AlmostModern

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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.