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 trialJoel Buzzanco
Courses Plus Student 2,738 Pointsbin not recognized as a command?
When I type bin/rails server in cmder and the command prompt applications, it returns that bin is not recognized as an internal or external command. He does this without a problem in the video at about 14:06.
I don't know what is wrong. I am in the projects/ODOT directory. please help, thanks.
1 Answer
Eric Welch
20,754 PointsI changed directory to /bin then typed the rails/server command and got it to work.
I'm not sure one way is better than the other.
I'm running the same setup as you with rails 5.0 (which I would guess is why the code in vid doesn't work exactly as typed)
Joel Buzzanco
Courses Plus Student 2,738 PointsJoel Buzzanco
Courses Plus Student 2,738 PointsI figured it out -- when i use the command ''' rails server ''' instead of what was said in the video it works. It was suggested in another question on treehouse https://teamtreehouse.com/community/what-do-i-do-if-my-windows-command-line-returns-bin-is-not-recognized-as-an-internal-or-external-command-operable-prog