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/.
On 05/08/06, Gene Kahn <kublaikhan55@hotmail.com> wrote:> > rake db:migrate > how do I correct this problem?Try "rake migrate"? -- Cheers, Hasan Diwan <hasan.diwan@gmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060805/9f2e5243/attachment.html
Hasan Diwan wrote:> On 05/08/06, Gene Kahn <kublaikhan55@hotmail.com> wrote: >> >> rake db:migrate >> how do I correct this problem? > > > Try "rake migrate"?Hi, Tried it, but still getting the error. Thanks, gk -- Posted via http://www.ruby-forum.com/.
Scott Mathieson
2006-Aug-06 06:43 UTC
[Rails] Re: Rake aborted! on No Rakefile Found error
On Sunday 06 August 2006 04:39, Gene Kahn wrote:> Hasan Diwan wrote: > > On 05/08/06, Gene Kahn <kublaikhan55@hotmail.com> wrote: > >> rake db:migrate > >> how do I correct this problem? > > > > Try "rake migrate"? > > Hi, > Tried it, but still getting the error. > Thanks, > gkare you running rake from within your application directory?
Scott Mathieson wrote:> On Sunday 06 August 2006 04:39, Gene Kahn 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 -- Posted via http://www.ruby-forum.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/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Chopra <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi, > > I am also getting the same problem ofNoRakefilefound. > 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: > > >NoRakefilefound(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 thatRakefile.rb is in the expected path. > > > Why can''t rake seeRakefile.rb, and how do I correct this problem? > > > Thanks for the help, > > gk > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
This might be because your project doesnt contain the rake file. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 On Wed, Jan 6, 2010 at 8:55 PM, Christopher Camplin <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>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 > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > > >-- Regards: Rajeev sharma +919813270707 -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 similarThank you that helped! Tags: "rake generate_session_store" "No Rakefile found" -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> > > Gene Kahn wrote in post #118144: >If you are using netbeans as the ide check if its set to use jruby as the platform -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.