0
I’m trying to install Ruby on Rails on Windows, but I install and whenever I try to use Git BASH in the "Sites" folder that is created in the installation, this error appears. How can I fix?
Command I try to run: ruby -v
0
I’m trying to install Ruby on Rails on Windows, but I install and whenever I try to use Git BASH in the "Sites" folder that is created in the installation, this error appears. How can I fix?
Command I try to run: ruby -v
0
Most likely the program is not listed in your PATH.
You need to check the folder where the Ruby was installed, for example:
C: Ruby22-x64
Discovered this, you need to add the folder bin in his path.
Go on the executar Win+R and type:
Systempropertiesadvanced
Then click on:
Environment variables (Environment Variables, in English)
And then inside Variáveis de usuário (User variables in English), make two clicks on Path, click on "New" (New in English) and add the following line (replacing with your installation path):
C: Ruby22-x64 bin
In the prompt de comando, typhoon:
echo %path%>path.txt
To have a backup of path current and then:
setx path "%path%;C: Ruby22-x64 bin"
Replacing, of course, the address with your installation.
Browser other questions tagged ruby-on-rails ruby
You are not signed in. Login or sign up in order to post.
What command are you typing? Please edit your question and include command and full error =]
– Daniel
updated the question :)
– João Victor Valentim
please include the result of the following command:
echo $PATH– Daniel