Setup rvm
- sudo apt-get install curl git-core
- copy/paste following lines in terminal
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bashrc
source ~/.bashrc
type rvm | head -1
rvm requirements
Install rvm dependencies
rvm list known
Install Ruby
- rvm install 1.8.7
- rvm use 1.8.7 #Set 1.8.7
- ruby -v #Check ruby version
Setup gemset
- rvm gemset create project_name
- rvm 1.8.7@project_name
- gem install rails
Setup gemset for your project
- Go to your project directory
- rvm --rvmrc --create 1.8.7@project_name