Added the apt-get command for ruby.

Also, install the rails gem.