Rakefile in vendorificator-0.1.1 vs Rakefile in vendorificator-0.2.0

- old
+ new

@@ -16,11 +16,13 @@ begin require 'cucumber' require 'cucumber/rake/task' desc 'Run Cucumber features' - Cucumber::Rake::Task.new(:features) + Cucumber::Rake::Task.new(:features) do |t| + t.fork = false + end rescue LoadError desc 'Cucumber rake task not available' task :features do abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin' end @@ -29,7 +31,11 @@ desc "Run Minitest specs" Rake::TestTask.new :spec do |task| task.libs << 'spec' task.test_files = FileList['spec/**/*_spec.rb'] end + +# https://github.com/jruby/jruby/issues/405 +mkdir_p 'tmp' +ENV['TMPDIR'] ||= File.join(Dir.pwd, 'tmp') task :default => [:spec, :features]