'bin' is not recognized as an internal or external command,
Running bin/rails server gives me the following error: (on windows)
"'bin' is not recognized as an internal or external command,operable program or batch file."
Any advise what might be wrong.
Jeremy Kerrigan12,002 Points
Just remove (bin/) from your bin/rails generate rspec:install. I have Win 7 and removing the bin/ works perfectly.
so enter: rails generate rspec:install
First add Environment path to ruby
then it will be available for use in CMD. Use
ruby directly inside CMD. not bin/ruby
This is how you add ENV path windows 7 Read here
Thank you Ajinkya for explaining.
I have windows10 32bit. I am opening environment system variable, path and edit. Another window opens for edit. I am appending () after a semi colon. I am not sure if I have to add 'set' or not, so I have tried it both ways. I also changed x64 to x32. I have tried this for a few hours but still I am getting the same error. Any insights on what I might be doing wrong here..
Any insights on what I might be doing wrong here