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 resolved this by deleting my ~/.rvm directory and reinstalling RVM.