summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-27 10:54:02 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-20 11:47:40 +0100
commitb0eacb00b8deefece294e681160dbbc82be4459a (patch)
treea4964d13727abab1dc4a0e7a2983af5b8f280834
parenta567e2084809ce5f5fdfdc673529a7cfa5cff673 (diff)
downloadbundler-b0eacb00b8deefece294e681160dbbc82be4459a.tar.gz
Simplify rubygems path transmission
Since the RSpec task now uses the RSpec binstub, we can rely on all the dance done in there.
-rw-r--r--Rakefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 23534f9870..a775b0ee27 100644
--- a/Rakefile
+++ b/Rakefile
@@ -167,8 +167,7 @@ namespace :spec do
end
puts "Checked out rubygems '#{rg}' at #{hash}"
- ENV["RUBYOPT"] = "-I#{File.join(RUBYGEMS_REPO, "lib")} #{rubyopt}"
- puts "RUBYOPT=#{ENV["RUBYOPT"]}"
+ ENV["RGV"] = rg
end
task rg => ["clone_rubygems_#{rg}"]