Skip to content

Commit

Permalink
Silence gem list command output (#181)
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 #168 5868643

Fix: #180
  • Loading branch information
tagliala committed May 10, 2021
1 parent 78df198 commit cf7ea9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/appraisal/command.rb
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 cf7ea9a

Please sign in to comment.