Closed
Description
Running rake test:scanners
fails at first due to requiring the term-ansicolor gem. No problem, but perhaps this could have failed more elegantly.
However, running the code again spews thousands of lines of:
/Users/phrogz/.rvm/gems/ruby-1.9.3-p392/gems/term-ansicolor-1.2.0/lib/term/ansicolor/attribute.rb:107: warning: instance variable @rgb not initialized
Modifying the gem to add:
else @rgb = nil
to the end of the initialize in that file fixes the problem.