test/test_helper.rb in ruboto-0.9.0 vs test/test_helper.rb in ruboto-0.10.0.rc.0

- old
+ new

@@ -66,11 +66,13 @@ unless $? == 0 local_gem_file = "jruby-jars-#{jars_version_from_env}.gem" if File.exists?(local_gem_file) system "gem install -l #{local_gem_file} --no-ri --no-rdoc" else - system "gem install -r jruby-jars#{version_requirement} --no-ri --no-rdoc" + Dir.chdir('tmp') do + system "gem install -r jruby-jars#{version_requirement} --no-ri --no-rdoc" + end end end raise "install of jruby-jars failed with return code #$?" unless $? == 0 if jars_version_from_env exclusion_clause = %Q{-v "!=#{jars_version_from_env}"} @@ -297,10 +299,11 @@ system "rake platform:debug platform:install" else fail "Unknown Ruboto platform: #{RUBOTO_PLATFORM.inspect}" end if $? != 0 - FileUtils.rm_rf 'tmp/RubotoCore' + # FIXME(uwe): Delete failed RubotoCore. Kept temporarily for debuging. + # FileUtils.rm_rf 'tmp/RubotoCore' fail 'Error (un)installing RubotoCore' end end def exclude_stdlibs(excluded_stdlibs)