Permalink
Browse files

print the backtrace of install errors in verbose mode

  • Loading branch information...
1 parent e84de58 commit b026bbad6cdbc880afbe941bc818ba1338fd37c4 @indirect indirect committed May 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/bundler/installer.rb
View
@@ -91,6 +91,7 @@ def install_gem_from_spec(spec, standalone = false)
msg = "An error occured while installing #{spec.name} (#{spec.version}),"
msg << " and Bundler cannot continue.\nMake sure that `gem install"
msg << " #{spec.name} -v '#{spec.version}'` succeeds before bundling."
+ Bundler.ui.debug e.backtrace.join("\n")
raise Bundler::InstallError, msg
end

0 comments on commit b026bba

Please sign in to comment.