Update rails-installer.sh

Added key to install RVM.  Added postgres installer. Allowed the user to select the version or ruby they wish to install