Ruby on Rails 在 Mac OS X 下的典型安装


1、Mac系统

2、安装homebrew

ruby -e “$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

brew install git

brew update

3、安装XQuartz(如果你要用ImageMagick)

4、安装其他需要软件

brew install imagemagick

curl get.pow.cx | sh

brew install mysql (或者到Mysql官网下载)

5、RVM,Ruby,Rails

curl -L https://get.rvm.io | bash

source ~/.zprofile 

rvm install 1.9.3

rvm 1.9.3 –default

gem install rails

gem install mysql2

gem install powder

6、安装JewelryBox

comments powered by Disqus