diff options
author | Andre Arko <andre@arko.net> | 2011-03-03 21:49:02 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2011-03-03 21:49:02 -0800 |
commit | 91e89f6d693420f42dcf9a14e94008e6bf205175 (patch) | |
tree | 5418e3f06cd00b6749db7a6b0a412d36008302eb /Rakefile | |
parent | d035e0e8cf65f74137f5fe5788b009c6235ac2ea (diff) | |
download | bundler-91e89f6d693420f42dcf9a14e94008e6bf205175.tar.gz |
In a total noob move, I pulled bundler master instead of rubygems master
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -71,8 +71,10 @@ begin unless File.directory?("tmp/rubygems") system("git clone git://github.com/rubygems/rubygems.git tmp/rubygems") end - system("cd tmp/rubygems && git checkout #{rg}") - system("git pull origin master") if rg == "master" + Dir.chdir("tmp/rubygems") do + system("git checkout #{rg}") + system("git pull origin master") if rg == "master" + end ENV["RUBYOPT"] = "-I#{File.expand_path("tmp/rubygems/lib")} #{rubyopt}" end |