diff options
author | Stefan Lance <stefan@lances.net> | 2015-06-18 20:24:51 -0500 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-16 16:52:00 -0700 |
commit | e764a6e8df71263442f889343e78965eba3be8b6 (patch) | |
tree | a431a7ca6028f15a2024f067ba5d96b73dc2159a | |
parent | 8bb53f013ce07940a14669b1e6f18ded46bc9b1d (diff) | |
download | bundler-e764a6e8df71263442f889343e78965eba3be8b6.tar.gz |
Change default install path to ./.bundle/gems
-rw-r--r-- | lib/bundler/settings.rb | 2 | ||||
-rw-r--r-- | spec/support/path.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb index 0e0587f886..73037d830e 100644 --- a/lib/bundler/settings.rb +++ b/lib/bundler/settings.rb @@ -165,7 +165,7 @@ module Bundler if path = self[:path] "#{path}/#{Bundler.ruby_scope}" else - Bundler.rubygems.gem_dir + File.join(@root, Bundler.ruby_scope) end end diff --git a/spec/support/path.rb b/spec/support/path.rb index 21d95a6064..eaca0cfbaf 100644 --- a/spec/support/path.rb +++ b/spec/support/path.rb @@ -15,7 +15,7 @@ module Spec end def default_bundle_path(*path) - system_gem_path(*path) + bundled_app(".bundle", Bundler.ruby_scope, *path) end def bundled_app(*path) |