[Cruisecontrolrb-users] using jruby and mysql jdbc adapter

Thibaut Barrère thibaut.barrere at gmail.com
Wed Sep 5 02:09:26 EDT 2007


> Any thoughts on how to proceed?

Just one hint: the message could indicate that the RAILS_ENV you
expect to be passed is  not the right one, which would make the
connection fails because database.yml would not contain the matching
information.

<snip>
WARNING: with Rails projects, it is important that RAILS_ENV does not
default to 'production'. Unless you want your migration scripts and
unit tests to hit your production database, of course.
CruiseControl.reb leaves this variable unchanged when invoking
'cruise' or other custom Rake task, and sets it to 'test' before
invoking the defaults.
</snip>

regards

-- Thibaut


More information about the Cruisecontrolrb-users mailing list