开发者

rake command looks for Rakefile up the directory chain?

开发者 https://www.devze.com 2023-01-30 07:10 出处:网络
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 t

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

精彩评论

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