summaryrefslogtreecommitdiff
path: root/bin/with_rubygems
diff options
context:
space:
mode:
Diffstat (limited to 'bin/with_rubygems')
-rwxr-xr-xbin/with_rubygems4
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