Welcome Guest | Login

No Rakefile found

I've been trying to get my deployment to work with Capistrano but keep running into the Rakefile not being found.  I've searched through the forum and tried many things, when I try it by hand...

rake rails:update

I get the following

rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1934:in `raw_load_rakefile'
(See full trace by running task with --trace)

Is there something in my account configuration that has to change so I'm pointing at the proper rails 2.0 gems directory?

Not sure if I used the proper tag below, but I also tried the following after looking at a number of forum posts, but got the same error.

rake rails:freeze:edge TAG=2.0.2
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1934:in `raw_load_rakefile'
(See full trace by running task with --trace)


am I missing something here???

2008-05-19 07:48 PM

Hello,

Can you see the 'Rake file' in the rails application's root directory..? Please do confirm the same first.

2008-05-19 08:03 PM

Regards,
Rahul
here is an ls of my app directory

{username}@{server} [~/apps/ums/current]$pwd
/home/{username}/apps/ums/current
{username}@{server} [~/apps/ums/current]$ ls
Capfile  README  REVISION  Rakefile  app  config  db  doc  lib  log  public  script  test  tmp
{username}@{server} [~/apps/ums/current]$

2008-05-20 11:05 AM

Hi Michaelm,

I am getting the following output while executing "rake rails:update" from the " ~/apps/ums/current " folder. It seems like the rake:update command is executing properly, Please check if the following output is satisfactory.

====
~/apps/ums/current]$ rake rails:update
(in /home/username/apps/ums/releases/20080520162617)
====

2008-05-20 01:30 PM


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