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-07-05 14:13:29 +0200 |
commit | 6d266c2ed6ec39a8892a1f17096c9526c9d5f2d8 (patch) | |
tree | c1e16179d3304306ae22a549d42bf3b791403793 | |
parent | 823887ed2401be0732ba969bd2992f150803ed22 (diff) | |
download | bundler-6d266c2ed6ec39a8892a1f17096c9526c9d5f2d8.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 @@ -117,7 +111,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" |