Install Ruby on Rails on windows

I am installing Ruby on Rails on Windows 7. I installed ruby-1.9.2 (in c: \ ruby) and I installed the rails using the command gem install rails(by doing this from c: \ ruby ​​\ bin since this is the only place where I can call the command). Then I ran the command rails new my_app.

The problem I am facing is trying to run a command rails serverfrom the application folder (c: \ ruby ​​\ bin \ my_app). I get the message 'rails' is not recognized....

What did I do wrong?

+3
source share
3 answers

On Windows, you need to set the PATH system variable (My Computer β†’ Properties β†’ Advanced β†’ Environment Variables β†’ System variables)

PATH:: c:\ruby ​​\ bin;

+6

Windows 7, , : http://www.wiki.devchix.com/index.php?title=Windows_-_Rails_3 , , windows 7 , devchix . "" ruby.

+1

Rails Windows. Ruby Rails Windows .

0

Source: https://habr.com/ru/post/1789030/


All Articles