Database connections using rake environment
Reported by Martyn Loughran | April 1st, 2008 @ 03:45 PM
The changes to the Rakefile mean that we look for database configuration for the rake environment. The error is a little cryptic so I can see this catching people out.
rake aborted!
ActiveRecord::AdapterNotSpecified
Suggest either adding
:rake:
<<: *defaults
to the database.yml.sample file or changing behaviour so that rake doesn't use the 'rake' environment to look for it's database connection information.
This bug probably also affects merb_datamapper.
Comments and changes to this ticket
-
Ezra Zygmuntowicz May 4th, 2008 @ 04:51 AM
- → State changed from new to resolved
believe this is fixed in head
-
Matt Aimonetti (mattetti) September 26th, 2008 @ 03:28 AM
- → Tag changed from to bug merb_activerecord merb_datamapper
indeed this is fixed in merb_activerecord generator but not merb_dm which is a DM project. It will be fixed by jack in a sec
-
jack dempsey (jackdempsey) September 26th, 2008 @ 03:32 AM
This may have been lost in the change to templater. Fixed again in commit c83dc3e0b8639ab4d004544a13648dec8c77377e to dm-more
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
