Are you having problems instaling ruby 1.8.7-p370
using rbenv install
on OSX Mavericks?
Does your problem look like:
BUILD FAILED
Inspect or clean up the working tree at /var/folders/33/gxcmmw5105df37r6406hjp6h0000gn/T/ruby-build.20140203224542.70009
Results logged to /var/folders/33/gxcmmw5105df37r6406hjp6h0000gn/T/ruby-build.20140203224542.70009.log
Last 10 log lines:
tcltklib.c:9862: error: expected ‘;’ before ‘event’
tcltklib.c:9892: error: ‘struct dummy_TkMenu’ has no member named ‘menuType’
tcltklib.c:9897: error: ‘struct dummy_TkMenu’ has no member named ‘menuType’
tcltklib.c:9915: error: ‘event’ undeclared (first use in this function)
tcltklib.c:9916: error: ‘ConfigureNotify’ undeclared (first use in this function)
tcltklib.c:9917: error: ‘Tk_FakeWin’ has no member named ‘display’
tcltklib.c:9919: error: ‘Tk_FakeWin’ has no member named ‘window’
tcltklib.c:9920: error: ‘Tk_FakeWin’ has no member named ‘display’
make[1]: *** [tcltklib.o] Error 1
make: *** [all] Error 1
It’s a problem with tcl/tk
. Unless you need support for tcl/tk
, just skip it:
$ CONFIGURE_OPTS=--without-tk rbenv install 1.8.7-p370