ROR on Ubuntu 14.04

Hi friends i am using Ubuntu 14.04. At the time of ROR installing i faced number of errors.
when i use rvm ruby install it gives “no command found”
but when i use ruby -v and rails -v it shows its versions.
when i use
rails new app
it shows me
x64_mingw is not a valid platform.
please correct me.

Did you do rvm install 2.3.1? Or whatever version number you’re using? Also once in your directory you’ll want to do rvm use 2.3.1 or whatever version you’re using. Please provide more output if you can.

How did you install rails? You should have done something like

gpg --keyserver hkp:// --recv-keys
\curl -sSL | bash -s stable --rails



Is RVM installed?

What is the output from 'rvm get stable'?