summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-09 23:48:58 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-10 02:54:25 +0000
commit56519d744eea72ace7c325d37b493ab9217ef44f (patch)
tree74938b9c7c63f00c8d2b5f203c82bb9c42aaf993
parent2224b68cfbd77bc117c79d3db6e3c320bb8aafc6 (diff)
We haven't started using isolate with Rubinius, yet,
but we may soon.
-rw-r--r--Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index feace20..9f72bd0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -192,9 +192,10 @@ end
 
 task :isolate do
   require 'isolate'
+  ruby_engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'
   opts = {
     :system => false,
-    :path => "tmp/isolate/ruby-#{RUBY_VERSION}",
+    :path => "tmp/isolate/#{ruby_engine}-#{RUBY_VERSION}",
     :multiruby => false, # we want "1.8.7" instead of "1.8"
   }
   fp = File.open(__FILE__, "rb")