[Rake-devel] rakelibdir?
Jim Weirich
jim at weirichhouse.org
Mon Oct 16 17:12:02 EDT 2006
Esad Hajdarevic wrote:
> Hi, I'm trying to use -R (--rakelibdir) option to specify a directory
> where my rake scripts containing some admin tasks reside.
> Basically these tasks (contained within .rake files) should be available
> from everywere, even if there's no Rakefile in the directory
> I'm executing it from.
>
> However (I'm using Windows XP), when I call rake like this:
>
> rake -R=c:\utils\rake -T
>
> I get following output
>
> C:\>rake -R=c:\utils\rake -T
> rake aborted!
> No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
> Rakefile.rb)
>
> Is -R option made for this at all? Does it support absolute pathnames? I
> looked at the rake source and
> Rake::Application#load_rakefile seems to search for the Rakefile first,
> and then imports the tasks.
Even though you supplied rake libraries, rake is still looking for a
main rakefile.
-- Jim Weirich
More information about the Rake-devel
mailing list