[LRUG] Rake binstub

Nik Wakelin me at nikwakelin.com
Wed Oct 8 06:20:56 PDT 2014


Yeah, so that plus BUNDLE_GEMFILE would avoid cd'ing :)

On Wed, Oct 8, 2014 at 2:14 PM, Frederick Cheung <frederick.cheung at gmail.com
> wrote:

>
> 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
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20141008/bd0d2817/attachment-0003.html>


More information about the Chat mailing list