I am on a fresh install of OS X Mountain Lion. I have installed rails via:
sudo gem install rails
Everything seems to install correctly, but wh
Just had this issue using rbenv, no idea how this happened, but figured that my ~/.rbenv/shims/rails was empty...
rbenv
~/.rbenv/shims/rails
So to fix this:
Cleaned empty shims: find ~/.rbenv/shims -empty -delete
find ~/.rbenv/shims -empty -delete
Then regenerate: rbenv rehash (was not overwriting empty one...)
rbenv rehash