1

On the 3.1RC, I have created a new app, and when I try to run the db:create job I'm getting this:

[15:38][*********@***********:~/**********/db(master)]$ rake db:create
(in /Users/*********/*********)
rake aborted!
uninitialized constant Rake::DSL

any ideas appreciated.

pavium
  • 14,808
  • 4
  • 33
  • 50
p2w
  • 37
  • 5
  • 1
    This is a known issue with Rake 0.9.0. See: http://stackoverflow.com/questions/6085610/rails-rake-problems-uninitialized-constant-rakedsl – Jits May 27 '11 at 21:03
  • thanks. don't know why that previous thread didn't show up in my search. either way...that did the trick.. – p2w May 29 '11 at 09:52

1 Answers1

3

Use

gem "rake", "0.8.7"

In your gemfile, as stated rake 0.9.0 breaks a few things.

Devin M
  • 9,636
  • 2
  • 33
  • 46