rake command looks for Rakefile up the directory chain?
I am using Rails3 and accidentally I ran rake command from within lib directory. rake command suc开发者_如何学编程cessfully ran. I think rake command looks for Rakefile all the up the chain. Is that true?
Yes. According to http://docs.rubyrake.org/user_guide/chapter02.html you can avoid that by:
rake -N
精彩评论