about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rwxr-xr-xscript/isolate_for_tests4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/isolate_for_tests b/script/isolate_for_tests
index 469307d..cef0663 100755
--- a/script/isolate_for_tests
+++ b/script/isolate_for_tests
@@ -16,7 +16,9 @@ opts = {
 
 pid = fork do
   Isolate.now!(opts) do
-    gem 'sqlite3-ruby', '1.2.5'
+    if RUBY_VERSION.to_f < 2.0
+      gem 'sqlite3-ruby', '1.2.5'
+    end
     gem 'raindrops', '0.8.0'
     gem 'kgio-monkey', '0.3.0'
     gem 'kgio', '2.7.2'