Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrandon Browning
11,989 PointsWhat 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.
3 Answers
Maciej Czuchnowski
36,441 PointsIgnore the whole bin thing, use "rails server", it should work if you installed everything correctly and if you are currently inside your app folder.
Brandon Browning
11,989 PointsThank you again.
David Czerepak
11,865 PointsYupp, This work. dziękuję
Travis Stewart
15,188 PointsI 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.
john larson
16,594 PointsThis one worked for me, Thanks Travis if you are still here :D
Danial Goodwin
13,247 PointsInstead 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. ;)
Travis Stewart
15,188 PointsI'll have to try that out.
Robyn Cantrell
7,603 PointsRobyn Cantrell
7,603 PointsChange from a forward to a backslash. In the video, Jason use "/" in his paths. windows machines use "\". this should fix the issue.
Happy learning!