Try re-installing rails version that you are using, if you have frozen rails in your vendor directory, then remove it and use rails from gem or remove it and re-freeze
Most probably this issue is because rails is not installed properly or is not in the right path or has gotten corrupted somehow. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/nphHjOHVlwAJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.