Welcome Guest | Login

No Rakefile found

I'm working on deploying my first rails app here, and I tried to run a rake db:migrate through ssh and I got this error:

No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2143:in `raw_load_rakefile'


There's a Rakefile in the main directory of my app. Not sure where else to look to solve this problem.

I appreciate your help.

2008-04-06 11:20 PM

Make sure you're in your Rails project directory before you run rake.  
You should see the Rakefile in there:

$ ls Rakefile
Rakefile

2008-04-07 02:02 AM

Oh, how silly. Thanks so much for your help. I was able to perform the rake now.

2008-04-07 06:43 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.