2012-10-29 22 views
9

पर रूबी 1.8.7 कैसे स्थापित करें मैं इसे करने का सबसे अच्छा तरीका ढूंढ रहा हूं और टीसीएल और टीके दोनों स्थापित करने के बजाय एक आसान तरीका ढूंढ रहा हूं।ओएस एक्स 10.8 माउंटेन शेर

उत्तर

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