diff options
| author | Agis Anastasopoulos <agis.anast@gmail.com> | 2015-10-05 01:31:54 +0300 |
|---|---|---|
| committer | Agis Anastasopoulos <agis.anast@gmail.com> | 2015-10-05 01:31:54 +0300 |
| commit | fb0de084a045129b0b36f0014c5382f15f4cc91e (patch) | |
| tree | 2b41e9e4fb899fb02407bb7d63b4f265c17c6ce2 /lib/bundler/friendly_errors.rb | |
| parent | e833ef9b2b22dcc966e6dbf81df7198dae9988ce (diff) | |
| download | bundler-bundle-env-gemspecs.tar.gz | |
Also print gemspecs in `bundle env`bundle-env-gemspecs
This change has the nice side-effect that `bundle env` will throw an error
for Gemfiles with invalid DSLs.
Closes https://trello.com/c/QOX9jyYN.
Diffstat (limited to 'lib/bundler/friendly_errors.rb')
| -rw-r--r-- | lib/bundler/friendly_errors.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/friendly_errors.rb b/lib/bundler/friendly_errors.rb index 53125fd99c..e60f73f7df 100644 --- a/lib/bundler/friendly_errors.rb +++ b/lib/bundler/friendly_errors.rb @@ -67,7 +67,7 @@ module Bundler #{e.class}: #{e.message} #{e.backtrace.join("\n ")} - #{Bundler::Env.new.report(:print_gemfile => false).gsub(/\n/, "\n ").strip} + #{Bundler::Env.new.report(:print_gemfile => false, :print_gemspecs => false).gsub(/\n/, "\n ").strip} --- TEMPLATE END ---------------------------------------------------------------- EOS |
