Re: Rake aborted! on No Rakefile Found error

625 views
Skip to first unread message

Neha Chopra

unread,
Aug 2, 2007, 3:04:53 AM8/2/07
to rubyonra...@googlegroups.com
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 Kahn 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

--
Posted via http://www.ruby-forum.com/.

Message has been deleted

Neha Chopra

unread,
Aug 16, 2007, 1:04:31 AM8/16/07
to rubyonra...@googlegroups.com
This might be because your project doesnt contain the rake file.

Christopher Camplin

unread,
Jan 6, 2010, 10:25:40 AM1/6/10
to rubyonra...@googlegroups.com
Neha Chopra 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

kannav rajeev

unread,
Jan 7, 2010, 1:38:21 AM1/7/10
to rubyonra...@googlegroups.com
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

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.






--
Regards:
Rajeev sharma
+919813270707

Dmitry Rogunov

unread,
Aug 25, 2010, 9:55:06 AM8/25/10
to rubyonra...@googlegroups.com
Christopher Camplin wrote:
> Neha Chopra 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"

Ashish Garg

unread,
Mar 2, 2011, 6:49:35 PM3/2/11
to rubyonra...@googlegroups.com
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 Kahn 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

--
Posted via http://www.ruby-forum.com/.

radhames brito

unread,
Mar 2, 2011, 8:16:40 PM3/2/11
to rubyonra...@googlegroups.com

Gene Kahn wrote in post #118144:

If you are using netbeans as the ide check if its set to use jruby as the platform 

Candace C.

unread,
Mar 6, 2012, 6:54:38 PM3/6/12
to rubyonra...@googlegroups.com
Dmitry Rogunov wrote in post #935646:

> Christopher Camplin wrote:
>> Neha Chopra 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.

Candace C.

unread,
Mar 6, 2012, 6:55:18 PM3/6/12
to rubyonra...@googlegroups.com
Dmitry Rogunov wrote in post #935646:
> Christopher Camplin wrote:
>> Neha Chopra 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.

--
Posted via http://www.ruby-forum.com/.

Reply all
Reply to author
Forward
0 new messages