Search code examples
rubycmdpik

Program added to path but cmd not recognizing/finding it (ruby version manager for windows)


I've installed pik in a windows machine so I can manage my ruby versions I also added the path to the PATH variable, but pik is not being recognized, I also created an alias but that just results in an error when it's used but the program runs fine when I run it directly ("C:\ruby_bin\pik").

What is going on?

p.s. ruby is installed in "C:\ruby", just so you know.


Solution

  • In the end I used the windows installer and that worked, don't know why it worked over the ruby gem version but whatever, so lesson for the future, just use the windows installer.