Mac Lion install ruby1.9.3 and rails 31.3
icekiller110
· 2012-01-13 19:53 · ruby · 编程语言 · ruby install 1.9.3
· Markdown
- install Xcode(from App Store)
- install GCC-10.7-v2.pkg
- install rvm.
user$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
- config bash_profile
$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function'>>~/.bash_profile
- install ruby 1.9.3
rvm install 1.9.3
- install rails 3.1.3
rvm use 1.9.3
gem install rails -v 3.1.3 --no-ri --no-rdoc