9

我一直在寻找最好的方法来做到这一点,并找到了一种比同时安装 tcl 和 tk 更简单的方法。

4

1 回答 1

28
# Install homebrew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

# Install command line tools for Xcode -- requires free Apple ID
http://developer.apple.com/downloads

# Install requirements
brew update
brew tap homebrew/dupes
brew install autoconf automake apple-gcc42 rbenv ruby-build

# rbenv method
CONFIGURE_OPTS="--without-tcl --without-tk" rbenv install 1.8.7-p370

# rvm method
rvm install 1.8.7 --without-tcl --without-tk
于 2012-10-29T01:59:05.360 回答