Why can’t I get a rake task to write to stderr?
warn “something”
$stderr.puts “something”
Both result in no output in my console. Anyone know what’s up?
Why can’t I get a rake task to write to stderr?
warn “something”
$stderr.puts “something”
Both result in no output in my console. Anyone know what’s up?
Quoting Jonathan R. [email protected]:
Why can’t I get a rake task to write to stderr?
warn “something”
$stderr.puts “something”
What about:
STDERR.puts “something”
HTH,
Jeffrey
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs