Monday, April 26, 2010

Re: [Rails] Re: custom db rake task gives 'development database not configured'

Frederick Cheung wrote:
> On Apr 26, 4:34 pm, David van Geest <dav...@spindance.com> wrote:
>
>> I can still do other rake db tasks, such as drop, create, and migrate,
>> so I know that my config/database.yml is OK.
>>
>> Any ideas? Thanks.
>>
>
> Taking a look at databases.rake in rails itself, I think you want to
> depend on the :load_config task so that your database.yml file is
> actually loaded
>
> Fred
>
That's the ticket. Thanks!

---
David van Geest
Software Engineer
Spindance, Inc.
616.355.7000 x113

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate