diff options
author | Stefan Lance <stefan@lances.net> | 2015-07-07 11:21:06 -0500 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-16 16:54:13 -0700 |
commit | 104eda6c08aae1e90a7d338c9218fb532469d09b (patch) | |
tree | 0452f1cc03ad49c3f116aa07989a56bccca9244c | |
parent | 3b013ccaff4a2f4aa3bd15780d39eccca36cfc52 (diff) | |
download | bundler-104eda6c08aae1e90a7d338c9218fb532469d09b.tar.gz |
Change default install path in source/rubygems.rb
-rw-r--r-- | lib/bundler/source/rubygems.rb | 4 |
1 files 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 |