RoR installation script. Modified path settings to come before rvm commands.