summaryrefslogtreecommitdiff
path: root/bin/parallel_rspec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-18 10:06:10 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-19 16:02:47 +0200
commit6a7da1cc9a59cd7e1399f28b5398f1223b89c56a (patch)
tree860abee10c2fd84f974fbf3b2d5bc2bc5105e679 /bin/parallel_rspec
parent71b96f25ca2970364be15496cd29bccf230b56f9 (diff)
downloadbundler-6a7da1cc9a59cd7e1399f28b5398f1223b89c56a.tar.gz
Replace `with_rubygems` script
Instead, use a better rubygems version manager that makes sure that `ENV["RGV"]` usage is always applied, and its usage is centralized at a single place. This simplifies the rake task organization and makes it much simpler to run locally exactly what's run in CI. For example, since it doesn't rely on the `RGV` being deleted for subsequent subprocesses, it also running `bin/rake spec:travis` task locally which previously would lead to ``` rake aborted! RubyGems version is required on Travis! ``` It also reduces duplication making it so that we only need to change the `.travis.yml` file when updating tested rubies, and not the `Rakefile` as well.
Diffstat (limited to 'bin/parallel_rspec')
-rwxr-xr-xbin/parallel_rspec2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/parallel_rspec b/bin/parallel_rspec
index 9783533198..c6fb33d583 100755
--- a/bin/parallel_rspec
+++ b/bin/parallel_rspec
@@ -1,8 +1,6 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
-load File.expand_path("../with_rubygems", __FILE__) if ENV["RGV"]
-
require_relative "../spec/support/rubygems_ext"
Spec::Rubygems.gem_load("parallel_tests", "parallel_rspec")