nak1114 / rbenv-win

rbenv for Windows
MIT License
103 stars 32 forks source link

rbenv: command not found #25

Open shahamoos opened 5 years ago

shahamoos commented 5 years ago

I have cloned rbenv and set path for bin and shims as directed, and restarted the shell. What I do next? When I run 'rbenv install 2.2.4' it gives the error; "bash: rbenv: command not found"

kirankotari commented 5 years ago

Question 1: Are you using running on windows ? Question 2: In the Environment path where did you set. If you set at system path on restarting shell will get the new path, else you need to sign out and sign in for other location paths to reflect.

Note:- Suggest to sign out and sign in or add the path to system path and restart the cmd or shell.

emilslavov-rb commented 4 years ago

I had the .rbenv-win folder incorrectly put inside a folder with the name %USERPROFILE% inside my user directory. Fixed by moving it one level up to match the path in the env variables.