summaryrefslogtreecommitdiff
path: root/bin/with_rubygems
diff options
context:
space:
mode:
Diffstat (limited to 'bin/with_rubygems')
-rwxr-xr-xbin/with_rubygems2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/with_rubygems b/bin/with_rubygems
index 96299669be..07c7ac1de9 100755
--- a/bin/with_rubygems
+++ b/bin/with_rubygems
@@ -13,7 +13,7 @@ rubygems_path = Pathname.new(version).expand_path
unless rubygems_path.directory?
rubygems_path = Pathname.new("tmp/rubygems").expand_path
unless rubygems_path.directory?
- rubygems_path.parent.mkpath unless rubygems_path.directory?
+ rubygems_path.parent.mkpath
run("git", "clone", "https://github.com/rubygems/rubygems.git", rubygems_path.to_s)
end
Dir.chdir(rubygems_path) do