开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜