tags:

views:

59

answers:

1

When I run rake, it always starts with a message like this:

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

I'd like to remove the (in /Users/peter/srcdir) portion. You can do it with rake -s, but then you don't get the output you want.

Is there any way to disable this current directory announcement but not the rest? Ideal would be some configuration file like ~/.rakerc, or an option in the Rakefile itself.

+2  A: 

Doesn't look like it -- Line 475 of application.rb:

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

You could try requesting it on the mailing list.

Jonathan Lonowski