[LRUG] Rake binstub

Frederick Cheung frederick.cheung at gmail.com
Wed Oct 8 06:14:22 PDT 2014


On 8 October 2014 at 14:10:27, Frederick Cheung (frederick.cheung at gmail.com) wrote:
>  
>  
> I don't think this is related to binstubs at all - when you invoke rake it looks through  
> it's searchpath for rakefiles, which includes the current directory (& it may go up the  
> directory tree), but not "the grandparent of the path where the binstub is installed"  
>  

Ah, this is what i was looking for in the rake docs:

--rakefile filename (-f)
Use filename as the name of the rakefile. The default rakefile names are rakefile and Rakefile (with rakefile taking precedence). If the rakefile is not found in the current directory, rake will search parent directories for a match. The directory where the Rakefile is found will become the current directory for the actions executed in the Rakefile.

Fred 



More information about the Chat mailing list