about summary refs log tree commit homepage
path: root/t/test_isolate.rb
diff options
context:
space:
mode:
Diffstat (limited to 't/test_isolate.rb')
-rw-r--r--t/test_isolate.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/test_isolate.rb b/t/test_isolate.rb
index 3cc646f..fe2aebc 100644
--- a/t/test_isolate.rb
+++ b/t/test_isolate.rb
@@ -37,7 +37,12 @@ Isolate.now!(opts) do
     gem 'rack-fiber_pool', '0.9.1'
   end
 
-  gem 'sleepy_penguin', '2.0.0' if RUBY_PLATFORM =~ /linux/
+  if RUBY_PLATFORM =~ /linux/
+    gem 'sleepy_penguin', '2.0.0'
+
+    # is 2.6.32 new enough?
+    gem 'io_splice', '4.1.0' if `uname -r`.strip > '2.6.32'
+  end
 end
 
 $stdout.reopen(old_out)