What do I do if my windows command line returns bin' is not recognized as an internal or external command, operable prog
When trying to start my server using windows to start my odot project, I get the return shown above. I would greatly appreciate some much needed help on what I should do. I don't know if I should just input 'rails server' or if the bin is somehow is related to this particular project. Thank you to anyone who can take a moment and help.
Maciej Czuchnowski36,437 Points
Ignore the whole bin thing, use "rails server", it should work if you installed everything correctly and if you are currently inside your app folder.
Travis Stewart15,188 Points
I got the same message. Tried adding ruby to the beginning, so " ruby bin\rails server " and it ended up working. I know it's an old question. I just wanted to add this for others who come through.
Instead of using the default command prompt in Windows OS, use Bash. Then, all the commands will work properly like in the videos. And, you'll be able to use all the commands that Mac and Unix users use.
When installing Git on Windows, make sure you select the option to also install "Git Bash". It may even have been enabled by default, and put into the right-click context menus for Explorer. So, either right-click in your desktop or any directory, then choose "Git Bash Here", then proceed as normal. ;)