diff options
Diffstat (limited to 'script/isolate_for_tests')
-rwxr-xr-x | script/isolate_for_tests | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/script/isolate_for_tests b/script/isolate_for_tests index 5e6139c..00a3f2b 100755 --- a/script/isolate_for_tests +++ b/script/isolate_for_tests @@ -16,9 +16,6 @@ opts = { pid = fork do Isolate.now!(opts) do - if RUBY_VERSION.to_f < 2.0 - gem 'sqlite3-ruby', '1.2.5' - end gem 'raindrops', '0.8.0' gem 'kgio-monkey', '0.4.0' gem 'kgio', '2.7.4' @@ -33,18 +30,3 @@ File.open("#{dst}.#$$", "w") do |fp| fp.puts "ISOLATE_LIBS=#{lib_paths.join(':')}" end File.rename("#{dst}.#$$", dst) - -# pure Ruby gems can be shared across all Rubies -%w(3.0.0).each do |rails_ver| - opts[:path] = "tmp/isolate/rails-#{rails_ver}" - pid = fork do - Isolate.now!(opts) do - gem 'rake', '0.8.7' - gem 'rails', rails_ver - end - end - _, status = Process.waitpid2(pid) - status.success? or abort status.inspect - more = Dir["#{opts[:path]}/gems/*-*/lib"].map { |x| File.expand_path(x) } - lib_paths.concat(more) -end |