SyntaxFix
Write A Post
Hire A Developer
Questions
I know this is a little late, but I was also having this issue a while ago. This is what worked for me:
REALLY_GEM_UPDATE_SYSTEM=1 sudo gem update --system sudo gem install rails
Hope this helps anyone else having this issue :)