vertiginous / pik

Ruby version manager for Windows
830 stars 122 forks source link

CMD after “Run as Administrator” #114

Open slavikdev opened 13 years ago

slavikdev commented 13 years ago

Hello guys! I’ve just installed pik to play with it. Great job, thank you very much!

But there is small issue. If you run cmd.exe as administrator, you won’t be able to switch ruby versions. I do “pik use” and then “pik list” shows no changes, “ruby -v” stays untouched as well. Same actions in normal cmd, not run through UAC,—work perfectly.

I’m not sure if that’s a common case, however in my work I use FAR Manager, run with administrative privileges, because my job requires system folders to be accessible.

Please advise, maybe there is an option to avoid the issue.

Thank you.