user rvm to install your ruby packages.
$ vi ~/.profile
add following line to your .profile. all your installations with rvm will take effect.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
$ source .profile
$ ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [powerpc-darwin9.8.0]
$ rails --version
Rails 3.0.6
$ rake --version
rake, version 0.8.7
$ gem --version
1.7.2

0 個意見:
張貼留言
訂閱 張貼留言 [Atom]
<< 首頁