require 'rake' require 'rake/testtask' Rake::TestTask.new do |t| t.libs = ['lib', 'test'] end task :default => :test