summaryrefslogtreecommitdiff
path: root/lib/bundler/env.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-04-15 12:47:12 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-04-15 12:47:12 -0500
commit8eb09da9e71cc2fe7bec5feb3ea484f1a5eab2d6 (patch)
tree55f405fd886a28caa0a4c3e7cfa5973dccaea789 /lib/bundler/env.rb
parenta181b12ccd66d667dbb5de48023c7b55f220693b (diff)
downloadbundler-8eb09da9e71cc2fe7bec5feb3ea484f1a5eab2d6.tar.gz
[Env] Default to always printing gemfile & gemspecsseg-error-report
Diffstat (limited to 'lib/bundler/env.rb')
-rw-r--r--lib/bundler/env.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/env.rb b/lib/bundler/env.rb
index 7e9bcc2866..284cc2ff30 100644
--- a/lib/bundler/env.rb
+++ b/lib/bundler/env.rb
@@ -5,12 +5,12 @@ require "bundler/source/git/git_proxy"
module Bundler
class Env
def write(io)
- io.write report(:print_gemfile => true, :print_gemspecs => true)
+ io.write report
end
def report(options = {})
- print_gemfile = options.delete(:print_gemfile)
- print_gemspecs = options.delete(:print_gemspecs)
+ print_gemfile = options.delete(:print_gemfile) { true }
+ print_gemspecs = options.delete(:print_gemspecs) { true }
out = String.new("## Environment\n\n```\n")
out << "Bundler #{Bundler::VERSION}\n"