I am creating Car model in Rails 3 by using command:
rails generate model Car name:string id_str:string
but I got the error:
I was able to resolve this by adding an .rvmrc file to my application.
echo "rvm ruby-2.0.0@rails32 --create" > .rvmrc