I tried to use Ruby's TK library today, and it failed miserably, spitting out a nice long core dump.
I'm not sure what I could have done wrong, as I double checked that TK was installed, and even went so far as to reinstall it. I also tried two different versions of Ruby, 2.0.0 and 1.9.3.
The code I tried to execute was simply:
require 'tk'
Here's the core dump on pastebin. Hopefully that will help narrow it down.
My system details are as follows:
- OS: Manjaro Linux, x86_64
- Ruby: 1.9.3 and 2.0.0
- Using RVM
- TK installed
I'd rather not use a different GUI library, as the others seem to be less cross-platform.
Finally, I noticed that StackOverflow doesn't have a tk
tag. Someone with enough reputation points might want to create that and get the badge for it. :D