Hi all,
I use one-click installer to install ruby, together with gems under my
vista box.
I can type “ruby -v” from any directory and the promt windows shows
ruby 1.8.6 after setting the enviroment variables. But I can only check
“gems --version” in this directory c:\ruby\bin. Is it possible to check
“gems --version” from other directories? and how?
thank you very much,
Li
Try gem --version, not gems.
On Dec 22, 2007 8:04 AM, Li Chen [email protected]
wrote:
thank you very much,
Li
Posted via http://www.ruby-forum.com/.
–
Ryan B.
Then you might not have the ruby folder on the PATH variable in windows.
Right-click My Computer → Properties → Advanced → Environment
Variables
and add the path to ruby at the end of the PATH.
On Dec 24, 2007 7:38 AM, Li Chen [email protected]
wrote:
Posted via http://www.ruby-forum.com/.
–
Ryan B.
Feel free to add me to MSN and/or GTalk as this email.
Ryan B. wrote:
Then you might not have the ruby folder on the PATH variable in windows.
Right-click My Computer → Properties → Advanced → Environment
Variables
and add the path to ruby at the end of the PATH.
Ryan B.
http://www.frozenplague.net
I have no problem check ruby version and gem version from any directory
when I install Ruby on window XP after I add the path to the system
environment. But I now I follow the same method to install Ruby on
Vista. I can check ruby version from any directory after adding the path
to the system environment variable BUT NOT that of gem. I went to gems’
website, which suggests to add RUBYOPT variable with value as rubygems.
I follow it and it doesn’t work either.
I wonder if there is some compatibility Ruby with Vista.
Thanks,
Li