This project is archived and is in readonly mode.
undefined method `new' for Rails::Configuration:Module when running rake db:setup
-
Scott Marshall
I ran into the same issue. I checked out a random commit from 1/23/10 and rake db:create worked. Must have been something done in the last day.
-
Ryan Bigg
It seems this has to do with the Engine additions. Rails::Configuration is now Rails::Application::Configuration but simply changing it over in databases.rake does not fix the issue.
-
Ryan Bigg
Here's a patch for it. Fixes the issue for me.
-
Ryan Bigg
And another with a suggestion from snusnu to use Rails::Application.instance.config instead.
-
Martin Gamsjaeger (snusnu)
I think this can now be closed. See http://github.com/rails/rails/commit/64f8c87b1dab9bc9b6324fd6a3d779...
-
Yehuda Katz (wycats)
- State changed from new to resolved
