#83 √ resolved
Martyn Loughran

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

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 »

Shared Ticket Bins