Issue #4771 has been reported by Masahiro Kitajima.
Bug #4771: rake のオプション --trace が常に ON 動作になっている
Author: Masahiro Kitajima
Status: Open
Priority: Normal
Assignee:
Category: lib
Target version: 1.9.2
ruby -v: ruby 1.9.2p180 (2011-02-18) [i386-mswin32]
— a/lib/rake.rb
+++ b/lib/rake.rb
@@ -2066,7 +2066,7 @@ module Rake
# Exit with error message
$stderr.puts “#{name} aborted!”
$stderr.puts ex.message
-
if options.trace or true
-
if options.trace $stderr.puts ex.backtrace.join("\n") else $stderr.puts ex.backtrace.find {|str| str =~ /#{@rakefile}/ }
|| “”