require "bundler/gem_tasks" require "rake/testtask" JRuby.objectspace = true if RUBY_PLATFORM == 'java' Rake::TestTask.new(:test) do |t| t.libs << "test" << "test/lib" t.libs << "lib" t.test_files = FileList['test/**/test_*.rb'] end task :default => :test