diff options
author | Stefan Lance <stefan@lances.net> | 2015-07-07 13:53:12 -0500 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-16 16:54:13 -0700 |
commit | 9411141a0660dd9b4819e579cd34d571d524e411 (patch) | |
tree | 64744cad8cca65e42f8532eccde1eac699f906ed | |
parent | 104eda6c08aae1e90a7d338c9218fb532469d09b (diff) | |
download | bundler-9411141a0660dd9b4819e579cd34d571d524e411.tar.gz |
Change `install --deployment` path
- Ensure --deployment path always include `Bundler.settings.path`.
Note: this makes the --deployment path redundant, which is
undesirable.
-rw-r--r-- | lib/bundler/cli/install.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb index d54112f7ab..ee1af8ea06 100644 --- a/lib/bundler/cli/install.rb +++ b/lib/bundler/cli/install.rb @@ -83,7 +83,7 @@ module Bundler end Bundler.settings[:path] = Bundler.rubygems.gem_dir if options[:system] - Bundler.settings[:path] = "vendor/bundle" if options[:deployment] + Bundler.settings[:path] = "#{Bundler.settings.path}/vendor/bundle" if options[:deployment] Bundler.settings[:path] = options["path"] if options["path"] Bundler.settings[:path] ||= "bundle" if options["standalone"] Bundler.settings[:shebang] = options["shebang"] if options["shebang"] |