kublai
August 5, 2006, 5:53pm
#1
Hello,
On a command:
rake db:migrate
I get the “rake aborted!” error. The message is:
No Rakefile found (looking for: rakefile, Rakefile, rakebile.rb,
Rakefile.rb)
c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
‘load_rakefile’
Checking my setup, I see that Rakefile.rb is in the expected path.
Why can’t rake see Rakefile.rb, and how do I correct this problem?
Thanks for the help,
gk
kublai
August 6, 2006, 12:18am
#2
On 05/08/06, Gene K. [email protected] wrote:
rake db:migrate
how do I correct this problem?
Try “rake migrate”?
kublai
August 6, 2006, 5:39am
#3
Hasan D. wrote:
On 05/08/06, Gene K. [email protected] wrote:
rake db:migrate
how do I correct this problem?
Try “rake migrate”?
Hi,
Tried it, but still getting the error.
Thanks,
gk
kublai
August 6, 2006, 8:43am
#4
On Sunday 06 August 2006 04:39, Gene K. wrote:
gk
are you running rake from within your application directory?
kublai
August 6, 2006, 10:29am
#5
Scott M. wrote:
On Sunday 06 August 2006 04:39, Gene K. wrote:
gk
are you running rake from within your application directory?
Hi,
Yes, I am. I’m also using InstantRails, if that is relevant.
gk
kublai
August 2, 2007, 9:04am
#6
Hi,
I am also getting the same problem of No Rakefile found.
Can someone suggest how to make it work???
Thanks in Advance.
Neha
Gene K. wrote:
Hello,
On a command:
rake db:migrate
I get the “rake aborted!” error. The message is:
No Rakefile found (looking for: rakefile, Rakefile, rakebile.rb,
Rakefile.rb)
c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
‘load_rakefile’
Checking my setup, I see that Rakefile.rb is in the expected path.
Why can’t rake see Rakefile.rb, and how do I correct this problem?
Thanks for the help,
gk
kublai
August 16, 2007, 7:04am
#7
This might be because your project doesnt contain the rake file.
kublai
January 6, 2010, 4:25pm
#8
Neha C. wrote:
This might be because your project doesnt contain the rake file.
I think you need to make sure you have logged into your project using:
$ cd myapp
or similar
kublai
August 14, 2007, 8:57am
#9
I have the same/similar problem as well.
my error says:
/usr/local/bin/rake:17:Warning: require_gem is obsolete. Use gem
instead.
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:1849:in
`load_rakefile’
(See full trace by running task with --trace)
anybody know what’s going on? I ran rails, created a database (which
gave me a weird error, but it was created), and I ran db:migrate to
make sure the database was connected to my rails app folder, and this
error popped up.
On Aug 2, 12:04 am, Neha C. [email protected]
kublai
January 7, 2010, 7:40am
#10
check yours database co-fig file and all of yours migration rake
abortion
always for yours coding mistakes or else try it newly mannered way
kublai
August 25, 2010, 3:55pm
#11
Christopher Camplin wrote:
Neha C. wrote:
This might be because your project doesnt contain the rake file.
I think you need to make sure you have logged into your project using:
$ cd myapp
or similar
Thank you that helped!
Tags:
“rake generate_session_store” “No Rakefile found”
kublai
March 3, 2011, 12:49am
#12
If you installed rake after making your application that it may be the
problem…
sudo apt-get install rake
Make a new application and try rake on it with right directory…
It will most probably work…
Gene K. wrote in post #118144:
Hello,
On a command:
rake db:migrate
I get the “rake aborted!” error. The message is:
No Rakefile found (looking for: rakefile, Rakefile, rakebile.rb,
Rakefile.rb)
c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
‘load_rakefile’
Checking my setup, I see that Rakefile.rb is in the expected path.
Why can’t rake see Rakefile.rb, and how do I correct this problem?
Thanks for the help,
gk
kublai
March 3, 2011, 2:17am
#13
Gene K. wrote in post #118144:
If you are using netbeans as the ide check if its set to use jruby as
the
platform
kublai
March 7, 2012, 12:54am
#14
Dmitry Rogunov wrote in post #935646:
Christopher Camplin wrote:
Neha C. wrote:
This might be because your project doesnt contain the rake file.
I think you need to make sure you have logged into your project using:
$ cd myapp
or similar
Thank you that helped!
Tags:
“rake generate_session_store” “No Rakefile found”
I had the exact same error message when I was attempting to use the
command, “rake db:migrate,” and your advice helped! Thank You.
kublai
March 7, 2012, 12:55am
#15
Dmitry Rogunov wrote in post #935646:
Christopher Camplin wrote:
Neha C. wrote:
This might be because your project doesnt contain the rake file.
I think you need to make sure you have logged into your project using:
$ cd myapp
or similar
Thank you that helped!
Tags:
“rake generate_session_store” “No Rakefile found”
I had the exact same error message when I was attempting to use the
command, “rake db:migrate,” and this step helped! Thank You.