Skip to content

Commit

Permalink
Silence gem list command output
Browse files Browse the repository at this point in the history
Prevents `appraisal rake` to write a boolean on the standard output when
checking the installed version of bundler

Bug introduced in thoughtbot#168 5868643

Fix: thoughtbot#180
  • Loading branch information
tagliala committed Mar 28, 2021
1 parent 78df198 commit ab41372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/appraisal/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def with_clean_env

def ensure_bundler_is_available
version = Utils.bundler_version
unless system %(gem list -i bundler -v #{version})
unless system %(gem list --silent -i bundler -v #{version})
puts ">> Reinstall Bundler into #{ENV["GEM_HOME"]}"

unless system "gem install bundler --version #{version}"
Expand Down

0 comments on commit ab41372

Please sign in to comment.