I need to set a path Variable on PHPStorm for the ruby executable file and the gem.bat.
I am using a virtual machine that has installed CentOS, and I just ran
$ sudo yum install ruby
Now I need to find the path, but I have no idea where ruby was installed under which directory
Use which
or type
command:
$ which ruby
or
$ type ruby
It will show you the path of the executable if the directory contains the executable is listed in PATH.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With