From: Stephen Schor Date: 2008-03-11T23:46:53+09:00 Subject: Cruisecontrol and Rspec. ------=_Part_1797_28046390.1205246775822 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I have cruisecontrol machine monitoring four projects. 3 of the 4 projects are running custom rake tasks. I'd love for the fourth project to simply run 'spec'. I've edited cruise_config.rb to include the line project.rake_task = "spec" But my builds fail with the following message: rake aborted! production database is not configured (See full trace by running task with --trace) (in /subversion/cruisecontrol/cruisecontrolrb- 1.1.0/projects/conduct/work) The (not so) funny thing is - rake spec works just fine (and looks to my project's test DB) from the cruise machine's command prompt. After some creative web-searches I decided to make a custom rake task that simply calls the spec rake task... desc 'Continuous build target' task :cruise do Rake::Task['spec'].invoke end ...and call project.rake_task = "spec" from cruise_config.rb but I'm still having the same problem. If anyone else has been through something similar and has insight - I'd love to hear about it. Thanks, Stephen ------=_Part_1797_28046390.1205246775822--