require 'rake/testtask' task :default => [:test] Rake::TestTask.new do |t| t.libs.push "lib" t.test_files = FileList['specs/*_spec.rb'] t.verbose = false if t.respond_to?(:warning=) t.warning = false end end