Cruisecontrol and Rspec.

S

Stephen Schor

[Note: parts of this message were removed to make it a legal post.]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top