’rails’ is not recognized as an internal or external command, operable program or batch file

You might experience the problem due to the following reasons:

  • You haven’t installed Rails
  • Rails path cannot be found
  • Installed Rails using a ‘special’ installer

To resolve the issue, uninstall rails installation from your PC and try a normal installation through command prompt by using following command:

gem install rails –include-dependencies

Note: Be sure, you are connected with internet

Leave a Comment