bundler/lib/bundler/settings.rb
# for legacy reasons, in Bundler 2, we do not respect :disable_shared_gems
for legacy reasons, in Bundler 2, we do not respect :disable_shared_gems
for legacy reasons in Bundler 2 we do not respect : disable_shared_gems
def path
      configs.each do |_level, settings|
        path = value_for("path", settings)
        path = "vendor/bundle" if value_for("deployment", settings) && path.nil?
        path_system = value_for("path.system", settings)
        disabled_shared_gems = value_for("disable_shared_gems", settings)
        next if path.nil? && path_system.nil? && disabled_shared_gems.nil?
        system_path = path_system || (disabled_shared_gems == false)
        return Path.new(path, system_path)
      end
      Path.new(nil, false)
    end
def path configs . each do | _level , settings | path = value_for ( "path" , settings ) path = "vendor/bundle" if value_for ( "deployment" , settings ) && path . nil? path_system = value_for ( "path.system" , settings ) disabled_shared_gems = value_for ( "disable_shared_gems" , settings ) next if path . nil? && path_system . nil? && disabled_shared_gems . nil? system_path = path_system || ( disabled_shared_gems == false ) return Path . new ( path , system_path ) end Path . new ( nil , false ) end
for legacy reasons, in Bundler 2, we do not respect :disable_shared_gems
for legacy reasons in Bundler 2 we do not respect : disable_shared_gems