문제

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>'
도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top