I am using Ruby version 2.2.3 which I've upgraded from 2.1.5. The problem is when I try to execute any Rails command it won't execute and give me this error
the rails' command exists in these ruby versions 2.1.5
So when I switched back to my previous version by rbenv global 2.1.5, it is working again. Can anyone tell me whats going on here? Why I can't do anything with newer version of ruby?