summaryrefslogtreecommitdiff
path: root/lib/bundler/installer.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-06-07 23:01:17 -0700
committerAndre Arko <andre@arko.net>2015-06-07 23:01:17 -0700
commitde5c595bee595b1c5a77c684b7f89f7c521fae5c (patch)
tree334172d7187f933a277ec257d2e3bbe8ecc606cc /lib/bundler/installer.rb
parent849c649632b71111a06e71c0170ba966aca60d04 (diff)
downloadbundler-de5c595bee595b1c5a77c684b7f89f7c521fae5c.tar.gz
print installing message _before_ installing
fixes failing spec from 2a73e2d
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r--lib/bundler/installer.rb12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index d0a7dc4fda..67961a01ac 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -107,20 +107,12 @@ module Bundler
if settings
# Build arguments are global, so this is mutexed
Bundler.rubygems.with_build_args [settings] do
- messages = spec.source.install(spec, install_options)
+ post_install_message = spec.source.install(spec, install_options)
end
else
- messages = spec.source.install(spec, install_options)
+ post_install_message = spec.source.install(spec, install_options)
end
- install_message, post_install_message, debug_message = *messages
-
- if install_message.include? 'Installing'
- Bundler.ui.confirm install_message
- else
- Bundler.ui.info install_message
- end
- Bundler.ui.debug debug_message if debug_message
Bundler.ui.debug "#{worker}: #{spec.name} (#{spec.version}) from #{spec.loaded_from}"
if Bundler.settings[:bin] && standalone