summaryrefslogtreecommitdiff
path: root/lib/bundler/source
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-07-14 17:59:30 +0300
committerSamuel Giddins <segiddins@segiddins.me>2017-07-23 12:39:02 -0500
commit07fedc3f9ee972d5da43f8a77a162bf2c9ca4b1b (patch)
tree49eb8accade0d3f6ae19cd350c357dd6193eaeaa /lib/bundler/source
parent1223f932c0790687d1743e5449e54b67f60f4c45 (diff)
downloadbundler-07fedc3f9ee972d5da43f8a77a162bf2c9ca4b1b.tar.gz
Default the install path to ./bundle in Bundler 2
Diffstat (limited to 'lib/bundler/source')
-rw-r--r--lib/bundler/source/rubygems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb
index 0ac45b3d70..511216a5c5 100644
--- a/lib/bundler/source/rubygems.rb
+++ b/lib/bundler/source/rubygems.rb
@@ -377,7 +377,6 @@ module Bundler
return false unless spec.remote
spec.fetch_platform
- Bundler.ui.confirm("Fetching #{version_message(spec)}")
download_path = requires_sudo? ? Bundler.tmp(spec.full_name) : rubygems_dir
gem_path = "#{rubygems_dir}/cache/#{spec.full_name}.gem"
@@ -443,6 +442,7 @@ module Bundler
end
else
uri = spec.remote.uri
+ Bundler.ui.confirm("Fetching #{version_message(spec)}")
Bundler.rubygems.download_gem(spec, uri, download_path)
cache_globally(spec, local_path)
end