Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix line break when gem install errors

  • Loading branch information...
commit 2c04e28d2cf0d77ede90ec96e1db23615ff23ab2 1 parent 27656fb
@indirect indirect authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/bundler/installer.rb
View
3  lib/bundler/installer.rb
@@ -67,11 +67,12 @@ def install_gem_from_spec(spec)
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"
Please sign in to comment.
Something went wrong with that request. Please try again.