carlosbrando/colorific — Issue #2: Ruby 1.9.3 compatibility
Author: semaperepelitsa
Created: 2011-10-31 16:39:54+00:00
State: open

It stopped working under Ruby 1.9.3-p0. Here is the backtrace:

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.+
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/colorific-1.0.1/lib/colorific.rb:75:in `block in increment'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/colorific-1.0.1/lib/colorific.rb:69:in `with_color'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/colorific-1.0.1/lib/colorific.rb:74:in `increment'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/colorific-1.0.1/lib/colorific.rb:39:in `print'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/minitest-2.6.2/lib/minitest/unit.rb:816:in `block in _run_suite'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/minitest-2.6.2/lib/minitest/unit.rb:805:in `map'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/minitest-2.6.2/lib/minitest/unit.rb:805:in `_run_suite'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:563:in `each'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/minitest-2.6.2/lib/minitest/unit.rb:771:in `_run_anything'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/minitest-2.6.2/lib/minitest/unit.rb:934:in `run_tests'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/minitest-2.6.2/lib/minitest/unit.rb:921:in `block in _run'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/minitest-2.6.2/lib/minitest/unit.rb:920:in `each'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/minitest-2.6.2/lib/minitest/unit.rb:920:in `_run'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/minitest-2.6.2/lib/minitest/unit.rb:909:in `run'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:21:in `run'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:630:in `run'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/bundler/gems/spork-testunit-a60efbe60bb9/lib/spork/test_framework/test_unit.rb:44:in `run_tests'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/spork-0.9.0.rc9/lib/spork/run_strategy/forking.rb:13:in `block in run'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/spork-0.9.0.rc9/lib/spork/forker.rb:21:in `block in initialize'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/spork-0.9.0.rc9/lib/spork/forker.rb:18:in `fork'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/spork-0.9.0.rc9/lib/spork/forker.rb:18:in `initialize'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/spork-0.9.0.rc9/lib/spork/run_strategy/forking.rb:9:in `new'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/spork-0.9.0.rc9/lib/spork/run_strategy/forking.rb:9:in `run'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/spork-0.9.0.rc9/lib/spork/server.rb:48:in `run'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/drb/drb.rb:1582:in `loop'
/Users/sema/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/drb/drb.rb:1582:in `block in main_loop'