require 'rake/testtask' Rake::TestTask.new do |t| t.libs << 'test' end desc "Run tests" task :default => :test require 'rspec/core/rake_task' RSpec::Core::RakeTask.new('spec')