File tree Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env ruby
22# frozen_string_literal: true
33
4- require_relative "../../spec/bundler/support/rubygems_ext"
5-
6- require_relative "../../spec/bundler/support/switch_rubygems"
7-
8- require "rubygems"
9- $LOAD_PATH. unshift ( File . expand_path ( "../../lib" , __FILE__ ) )
4+ require_relative "../bundler/support/setup"
105
116require "turbo_tests"
127TurboTests ::CLI . new ( ARGV ) . run
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -145,6 +145,12 @@ def sync_default_gems(gem)
145145 File . write ( "lib/bundler/bundler.gemspec" , gemspec_content )
146146
147147 cp_r ( "#{ upstream } /bundler/spec" , "spec/bundler" )
148+ rm_rf ( "spec/bundler/bin" )
149+
150+ parallel_tests_content = File . read ( "#{ upstream } /bundler/bin/parallel_rspec" ) . gsub ( "../spec" , "../bundler" )
151+ File . write ( "spec/bin/parallel_rspec" , parallel_tests_content )
152+ chmod ( "+x" , "spec/bin/parallel_rspec" )
153+
148154 %w[ dev_gems test_gems rubocop_gems standard_gems ] . each do |gemfile |
149155 cp_r ( "#{ upstream } /tool/bundler/#{ gemfile } .rb" , "tool/bundler" )
150156 end
You can’t perform that action at this time.
0 commit comments