peterc / trtl

Tk-powered Ruby turtle graphics
MIT License
64 stars 4 forks source link

Add tk gem runtime dependency #3

Closed jrmhaig closed 8 years ago

jrmhaig commented 8 years ago

The require trtl fails if the tk gem is not installed.

I notice that the tk gem was only a couple of weeks ago so I don't know how it would have worked before.

peterc commented 8 years ago

Thanks! The reason is that tk used to be part of the Ruby standard library. This happened in Ruby 2.2 - see https://bugs.ruby-lang.org/issues/8539 for further info.