Reputation:
When I run the command rails -v
the output is: -bash: /usr/bin/rails: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
I've tried everything. I really need help on this. I'm using Ruby 1.8.7 and I don't have any gems installed.
Upvotes: 0
Views: 2284
Reputation: 83680
Standard answer:
First thing you should do if you want to work with Ruby/Rails -- install RVM
Upvotes: 2
Reputation:
"...and I don't have any gems installed."
Rails is a gem. Have you tried sudo gem install rails
?
Upvotes: 0