Rails安裝在Mac


Mac
References:
1. https://github.com/mxcl/homebrew/wiki/installation
Brew
Paste this at a shell prompt:
$> /usr/bin/ruby -e "$(/usr/bin/curl -fksSLhttps://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_hom...)"
$> brew update 
$> brew install ruby 
$> brew install wget 
$> brew install git
$> brew install sqlite

$> echo 'export PATH=/usr/local/Cellar/ruby/1.9.3-p125/bin:$PATH' >> ~/.bash_profile $> export PATH=/usr/local/Cellar/ruby/1.9.3-p125/bin:$PATH

UPDATE GEM1.8.21
$> cd /tmp 
$> gem update --system

Rails
$> gem install rails

留言

熱門文章