Ruby on Rails Monday, June 2, 2014

This is normal. You need to run Rake from within the same folder as a Rakefile, as the error indicates.

Make sure that your PATH is set to include the folder where rake lives, so that you can type the command from anywhere (not a fully-qualified path to the executable as you seem to have done here) and it will pick up the current folder as its working environment.

Walter

On Jun 2, 2014, at 9:24 AM, Rachita Dangare wrote:

> Hi
>
> I have installed gem install rake on my machine.
> but when I run command rake
>
> C:\Ruby193\lib\ruby\gems\1.9.1>rake
>
> it gives error message as
>
> rake aborted!
> No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
> Rakefile.rb)
>
> (See full trace by running task with --trace)
>
> kindly help me.
>
> Thanks,
> Rachita
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d32795d137393cd2ed2bee9b62a3df8e%40ruby-forum.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/EC2436FC-86C6-4041-8168-BC22A57576B6%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment