require 'rspec/core/rake_task' require 'cucumber' require 'cucumber/rake/task' RSpec::Core::RakeTask.new(:spec) Cucumber::Rake::Task.new(:cucumber) do |t| t.cucumber_opts = '--format pretty' end task :default => [:spec, :cucumber]