require 'spec/rake/spectask' desc "Run all specifications" Spec::Rake::SpecTask.new(:spec) do |t| t.libs += ['lib'] + Dir['**/lib'] + ['spec'] t.spec_opts = ['--colour', '--format', 'specdoc'] end task :default => :spec