8000 Running tests requires term/ansicolor, vomits onto console · Issue #128 · rubychan/coderay · GitHub
[go: up one dir, main page]

Skip to content
Running tests requires term/ansicolor, vomits onto console #128
Closed
@Phrogz

Description

@Phrogz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0