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...)"
$> /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
$> 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
$> cd /tmp
$> gem update --system
Rails
$> gem install rails
$> gem install rails
留言