Windows system can't call ruby or gem
Clash Royale CLAN TAG#URR8PPP
Windows system can't call ruby or gem
After I installed ruby, type ruby or gem in cmd and there is no such command.
And I have added the installation path to the system environment.
Just put ruby on the system disk.
– user9942310
Aug 12 at 9:16
Ruby doesn't care if its on a "non-system" disk, and neither does an arbitrary value in your PATH variable. Once again, is it possible to see your PATH variables so that you can be helped? How did you add it? Is it in both system and user? Did you try restarting? If you want help, then some you need to offer some information.
– ForeverZer0
Aug 12 at 9:21
1 Answer
1
I did this, but it didn't work. But now it's done, because I installed ruby on a non-system disk before, so there will be some strange problems.
This was not the problem, and incorrect as an answer. I, and many others, install Ruby on disks other than the primary
C:
drive when on Windows.– ForeverZer0
Aug 12 at 9:35
C:
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Could you show your PATH variables? Both system and user. Did you confirm they are there or not? And just in case you didn't, you do have to restart a new shell for new PATH variables to take effect.
– ForeverZer0
Aug 12 at 5:25