在目录消息中禁止rake

时间:2009-10-16 19:01:52

标签: ruby rake

当我运行rake时,它总是以这样的消息开头:

> rake
(in /Users/peter/srcdir)
... standard output here ...

我想删除(in /Users/peter/srcdir)部分。您可以使用rake -s执行此操作,但之后无法获得所需的输出。

有没有办法禁用当前目录公告而不是其余的?理想的是一些配置文件,如~/.rakerc,或Rakefile本身的选项。

1 个答案:

答案 0 :(得分:3)

看起来不像 - Line 475 of application.rb

puts "(in #{Dir.pwd})" unless options.silent

您可以尝试在mailing list上提出申请。

相关问题