sudo apt-get install build-essential libopenssl-ruby libfcgi-dev
sudo apt-get install ruby irb rubygems ruby1.8-dev
sudo apt-get install sqlite3 libsqlite3-dev
sudo apt-get install git
sudo apt-get install curl
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
gedit ~/.bashrc
and add the following line to the end (and save the file)
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
rvm requirements
rvm install 1.9.2
rvm use 1.9.2 --default
gem install rails
No comments:
Post a Comment