Question

Any idea why this isn't working on OSX 10.9?

sudo port install ruby19 +mactk

The above installs fine.

Then, when trying to run a Ruby script, foot.rb as an example, with tk required/used:

/opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- tk (LoadError)
    from /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /Users/craign/bin/foot.rb:6:in `<main>'
Was it helpful?

Solution

I had this problem, and it was fixed by removing my ActiveState 8.6 installation. This left tcl8.5.9 as the default, which seems to work fine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top