summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Lance <stefan@lances.net>2015-07-07 11:21:06 -0500
committerStefan Lance <stefan@lances.net>2015-07-07 11:21:06 -0500
commitad6f9619b7889c8cbd46cb5ccc6e4e9d18807324 (patch)
treefec863bdd783a85363f7fa7dbc46af5abceb4910
parentf2deceda6e2c18e707d5495b616940bcbf51044c (diff)
downloadbundler-ad6f9619b7889c8cbd46cb5ccc6e4e9d18807324.tar.gz
Change default install path in source/rubygems.rb
-rw-r--r--lib/bundler/source/rubygems.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb
index 7b40860db9..5df83c5b30 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