1. install ruby lib:
sudo apt-get install curl git-core bison build-essential zlib1g-dev libssl-dev libreadline6-dev libxml2-dev autoconf libxslt1-dev libpq-dev postgresql
2. install rvm
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
3. extra check
mkdir -p ~/.rvm/src/ && cdm ~/.rvm/src && rm -rf ./rvm/ && git clone --depth 1 git://github.com/wayneeseguin/rvm.git && cd rvm && ./install
4. add this line very end of your profile(.bash_profile)
# this is for rvm
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
5. to install ruby 1.9.1
rvm install 1.9.1 ; rvm 1.9.1
Thursday, July 22, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment