[Ruby 1.9 - Bug #4771][Open] rake のオプション --trace が常に ON 動作になっている

Issue #4771 has been reported by Masahiro Kitajima.


Bug #4771: rake のオプション --trace が常に ON 動作になっている
http://redmine.ruby-lang.org/issues/4771

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}/ } 
    

|| “”

Issue #4771 has been updated by Koichi Sasada.

Status changed from Open to Assigned
Assignee set to Yuki S.


Bug #4771: rake のオプション --trace が常に ON 動作になっている
http://redmine.ruby-lang.org/issues/4771

Author: Masahiro Kitajima
Status: Assigned
Priority: Normal
Assignee: Yuki S.
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}/ } 
    

|| “”

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs