From 104eda6c08aae1e90a7d338c9218fb532469d09b Mon Sep 17 00:00:00 2001 From: Stefan Lance Date: Tue, 7 Jul 2015 11:21:06 -0500 Subject: Change default install path in source/rubygems.rb --- lib/bundler/source/rubygems.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb index ec52c918b1..7dd26c8588 100644 --- a/lib/bundler/source/rubygems.rb +++ b/lib/bundler/source/rubygems.rb @@ -126,8 +126,8 @@ module Bundler install_path = Bundler.tmp(spec.full_name) bin_path = install_path.join("bin") else - install_path = Bundler.rubygems.gem_dir - bin_path = Bundler.system_bindir + install_path = Bundler.settings.path + bin_path = File.join(install_path, 'bin') end installed_spec = nil -- cgit v1.2.1