1 2 3 4
task :default => :test task :environment do require(File.join(RAILS_ROOT, 'config', 'environment')) end