# No Rakefile found (but I see it!)

**URL:** <https://www.ruby-forum.com/t/no-rakefile-found-but-i-see-it/116814>\
**Category:** Rails\
**Created:** [October 10, 2007, 12:21am UTC](https://www.ruby-forum.com/t/no-rakefile-found-but-i-see-it/116814 "2007-10-10T00:21:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![S-gw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Post date:** [October 10, 2007, 12:21am UTC](https://www.ruby-forum.com/t/no-rakefile-found-but-i-see-it/116814/1 "2007-10-10T00:21:14Z")

</div>

newbie. going thru the Depot tutorial.

googling all over for clues have left me empty handed.

os x 10.4.10, rails 1.2.4, rake 0.7.3

AFAICT, the installs of rails and rake went fine using gem install.

the command: rake db:migrate

returns an error: No Rakefile found (looking for: rakefile, Rakefile,  
rakefile.rb, Rakefile.rb)

I am running the command from the project directory /Depot, and there is  
a file “Rakefile”

What are the permissions for the Rakefile supposed to be? I can’t find  
that in the rake docs.

Trace is supposed add enlightenment, but I don’t know how to interpret  
the output.

$ rake db:migrate --trace  
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' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in`load\_rakefile’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in  
`standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in`load\_rakefile’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in`standard\_exception\_handling’  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 /usr/local/bin/rake:16:in`load’  
/usr/local/bin/rake:16

Any clues appreciated

– gw

---

<div class="post-metadata">

**Author:** ![S-gw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Post date:** [October 10, 2007, 12:24am UTC](https://www.ruby-forum.com/t/no-rakefile-found-but-i-see-it/116814/2 "2007-10-10T00:24:51Z")

</div>

Egads – nevermind. I thought I was in the /Depot dir, but I was not.  
.

Sorry.

– gw
