shokai/tw

update for rainbow 1.99.x

Closed this issue · 0 comments

https://twitter.com/todotantan/status/420715565523542016

rainbow1.99以上にすると動かない

% tw
/Users/sho/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tw-1.0.2/lib/tw/app/render.rb:25:in `color_code': uninitialized constant Sickill::Rainbow::TERM_COLORS (NameError)
        from /Users/sho/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tw-1.0.2/lib/tw/app/helper.rb:6:in `block in colorize'
        from /Users/sho/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tw-1.0.2/lib/tw/app/helper.rb:4:in `map'
        from /Users/sho/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tw-1.0.2/lib/tw/app/helper.rb:4:in `colorize'
        from /Users/sho/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tw-1.0.2/lib/tw/app/render.rb:44:in `block in display'
        from /Users/sho/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tw-1.0.2/lib/tw/app/render.rb:36:in `each'
        from /Users/sho/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tw-1.0.2/lib/tw/app/render.rb:36:in `display'
        from /Users/sho/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tw-1.0.2/lib/tw/app/main.rb:125:in `run'
        from /Users/sho/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tw-1.0.2/bin/tw:9:in `<top (required)>'
        from /Users/sho/.rbenv/versions/2.0.0-p353/bin/tw:23:in `load'
        from /Users/sho/.rbenv/versions/2.0.0-p353/bin/tw:23:in `<main>'