Install Ruby On Rails With RVM

This is just a simple tutorial for fresh start Ruby On Rails developer to install it. For Ubuntu and MacOS.

Install RVM

gpg --keyserver hkp:// --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL | bash -s stab

See installed ruby version

rvm -v

Install Lastest Ruby

rvm install ruby --latest
rvm use ruby --lastest

See installed ruby version

ruby -v

Install JS Runtime

it is optional. Need to rake assets:precompile

curl -sL -o
sudo bash
sudo apt-get install nodejs

See installed node version

nodejs -v

Install Rails

gem install rails

See installed rails version

rails -v

Now you can start with this great framework.