diff options
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 21 |
1 files changed, 5 insertions, 16 deletions
@@ -187,20 +187,9 @@ end desc 'isolate gems for development' task :isolate do require 'isolate' - require 'rbconfig' - - Isolate.now! :file => ENV['ISOLATE_CONFIG'], :system => false - - # for Ruby 1.8 isolate uses "1.8" instead of "1.8.7" for paths, - # but we'll still try to support 1.8.6 for now even though isolate - # does not. - if Gem.ruby_engine == "ruby" && - RbConfig::CONFIG["ruby_version"] != RUBY_VERSION - require 'fileutils' - Dir.chdir('tmp/isolate') do - FileUtils.rm_rf("ruby-#{RUBY_VERSION}") - File.symlink "ruby-#{RbConfig::CONFIG["ruby_version"]}", - "ruby-#{RUBY_VERSION}" - end - end + + Isolate.now!( + :system => false, + :multiruby => false, + :path => "tmp/isolate/ruby-#{RUBY_VERSION}") end |