You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
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.
> 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
Actually, rake will search "upwards" in the directory structure to find a Rakefile (with any of the names indicated) and then the tasks will be executed with the current directory set to where the Rakefile was found.
This allows you to be in a subdirectory of a project and still issue the rake commands. Of course, now that Rails expects you to have ./bin in your PATH, finding the rake executable is a bit more complicated than it used to be.