diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-30 11:23:43 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-05-03 11:35:13 +0200 |
commit | 5832fac581e770380300bd1a1b94144e29fe6a3c (patch) | |
tree | f028525b4f6c89a38e6fa765915967b8aede94b1 | |
parent | 9c79badabab0c1669168956e5e5e642a66e84d2e (diff) | |
download | bundler-5832fac581e770380300bd1a1b94144e29fe6a3c.tar.gz |
Remove unnecessary constant
-rw-r--r-- | Rakefile | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -3,12 +3,6 @@ $:.unshift File.expand_path("../lib", __FILE__) require "benchmark" -RUBYGEMS_REPO = if `git -C "#{File.expand_path("..")}" remote --verbose 2> #{IO::NULL}` =~ /rubygems/i - File.expand_path("..") -else - File.expand_path("tmp/rubygems") -end - # Benchmark task execution module Rake class Task @@ -122,7 +116,11 @@ namespace :spec do end task "setup_co" do - ENV["RGV"] = RUBYGEMS_REPO + ENV["RGV"] = if `git -C "#{File.expand_path("..")}" remote --verbose 2> #{IO::NULL}` =~ /rubygems/i + File.expand_path("..") + else + File.expand_path("tmp/rubygems") + end end task "co" => "setup_co" |