diff options
author | Andre Arko <andre@arko.net> | 2011-09-14 00:22:24 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2011-09-16 10:52:13 -0700 |
commit | 2c04e28d2cf0d77ede90ec96e1db23615ff23ab2 (patch) | |
tree | e21658cbdab80867557338660550591d7bfa3c85 | |
parent | 27656fb92fba2b50db41687a67220614dc2572f8 (diff) | |
download | bundler-2c04e28d2cf0d77ede90ec96e1db23615ff23ab2.tar.gz |
fix line break when gem install errors
-rw-r--r-- | lib/bundler/installer.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index 3ffd6901b6..95b1dc865e 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -67,11 +67,12 @@ module Bundler Bundler.ui.debug "from #{spec.loaded_from} " end - # newline after installing, some gems say "with native extensions" + # newline comes after installing, some gems say "with native extensions" Bundler.ui.info "" generate_bundler_executable_stubs(spec) if Bundler.settings[:bin] FileUtils.rm_rf(Bundler.tmp) rescue Exception => e + Bundler.ui.info "" Bundler.ui.warn "#{e.class}: #{e.message}" msg = "An error occured while installing #{spec.name} (#{spec.version})," msg << " and Bundler cannot continue.\nMake sure that `gem install" |