RVM Ruby with TK installation (OSX)

前端 未结 2 1681
不思量自难忘°
不思量自难忘° 2020-12-19 18:44

I\'m trying to install Ruby with TK support.

Using RVM, I did this:

rvm install 1.9.2 -C --enable-shared --enable-pthread

The inst

相关标签:
2条回答
  • 2020-12-19 19:27

    RVM disables tk/tcl by default (problems on OS X), you need to tell ruby (via rvm) you want tk/tcl:

    rvm install 1.9.2 --enable-shared --enable-pthread --with-tk --with-tcl
    
    0 讨论(0)
  • 2020-12-19 19:29

    First, install ActiveState's ActiveTCL from here. Then, reinstall Ruby with this command:

    rvm reinstall 1.9.2 --enable-pthread
    
    0 讨论(0)
提交回复
热议问题