Forum: Ruby Rake outputting to stderror

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Bob Archer (Guest)
on 2008-12-04 17:24
(Received via mailing list)
I am using CC.Net to call rake via the rake task in

In my rake file I have a cp command:

FileList['**/app.config.template'].each do |src|

 cp src, "#{File.dirname(src)}/app.config" unless


However, in the log the above cp gets logged as:

  <message level="Error">cp Unit Test/eDex.Test/App.config.template Unit

On the mail list they told me this:

"The problem you have with the cp
thing showing as error is that rake seems to write it to the standard
error stream."

Why is this written to std error instead of stdout? The cp did not


This topic is locked and can not be replied to.