diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-11 13:16:15 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-12 18:28:37 +0200 |
commit | a4afc4413a021364a1281e506eb132b8235a47a6 (patch) | |
tree | 08e15a13076042efe4d4c850a825774dd7e93a82 /bin/with_rubygems | |
parent | abc29c377f24554f7d3101cd5fd081cb1ec33a11 (diff) | |
download | bundler-a4afc4413a021364a1281e506eb132b8235a47a6.tar.gz |
Remove standard output from `with_rubygems`remove_output_from_with_rubygems
Diffstat (limited to 'bin/with_rubygems')
-rwxr-xr-x | bin/with_rubygems | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/with_rubygems b/bin/with_rubygems index 72edc1c928..96299669be 100755 --- a/bin/with_rubygems +++ b/bin/with_rubygems @@ -4,7 +4,7 @@ require "pathname" def run(*cmd) - return if system(*cmd) + return if system(*cmd, :out => IO::NULL) raise "Running `#{cmd.join(" ")}` failed" end @@ -20,8 +20,6 @@ unless rubygems_path.directory? run("git remote update") version = "v#{version}" if version =~ /\A\d/ run("git", "checkout", version, "--quiet") - hash = `git rev-parse HEAD`.chomp - puts "Checked out rubygems '#{version}' at #{hash}" end end |