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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Try gem --version, not gems. On Dec 22, 2007 8:04 AM, Li Chen <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > 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 > -- > Posted via http://www.ruby-forum.com/. > > > >-- Ryan Bigg http://www.frozenplague.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ryan Bigg wrote:> Try gem --version, not gems. > Ryan Bigg > http://www.frozenplague.netIt doesn''t work either. Li -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Ryan Bigg wrote: > > Try gem --version, not gems. > > Ryan Bigg > > http://www.frozenplague.net > > It doesn''t work either. > > Li > -- > Posted via http://www.ruby-forum.com/. > > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ryan Bigg 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 Bigg > http://www.frozenplague.netI 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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---