Hi, When I try to launch my ruby on rails server, it says my ruby gems version is not up to date. However it is. I''ve even tried reinstalling ruby gems to the latest version, but it still says I have an old version. Does anyone know how to fix this issue? I''d be deeply grateful. Here is some code directly from my terminal (I''m on an ubuntu system): connor@connor-desktop:~/Desktop/project$ sudo ruby script/server [sudo] password for connor: Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update --system` and try again. connor@connor-desktop:~/Desktop/project$ gem update --system Updating RubyGems Nothing to update Any ideas?
On Nov 2, 10:34 pm, Connor <con...-rz19F5JFlzyQ6ZAhV5LmOA@public.gmane.org> wrote:> Here is some code directly from my terminal (I''m on an ubuntu system): > > connor@connor-desktop:~/Desktop/project$ sudo ruby script/server > [sudo] password for connor: > Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update > --system` and try again. > connor@connor-desktop:~/Desktop/project$ gem update --system > Updating RubyGems > Nothing to update > > Any ideas?Rubygems 1.2 had issues self updating. There are more instructions at http://rubyforge.org/forum/forum.php?forum_id=28071 Fred
Doesn''t ubuntu restrict the use of gems updating the system? Sudo gem update --system doesn''t work on ubuntu (at least not on version since hardy). Canonical maintains the packages so you have to get every thing from apt-get. -- Steven Elliott Jr On Nov 2, 2009, at 7:16 PM, Frederick Cheung <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > > On Nov 2, 10:34 pm, Connor <con...-rz19F5JFlzyQ6ZAhV5LmOA@public.gmane.org> wrote: >> Here is some code directly from my terminal (I''m on an ubuntu >> system): >> >> connor@connor-desktop:~/Desktop/project$ sudo ruby script/server >> [sudo] password for connor: >> Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update >> --system` and try again. >> connor@connor-desktop:~/Desktop/project$ gem update --system >> Updating RubyGems >> Nothing to update >> >> Any ideas? > > Rubygems 1.2 had issues self updating. There are more instructions at > http://rubyforge.org/forum/forum.php?forum_id=28071 > > Fred > >
Try to update gems via the synaptic package manager. Might be the way to go. -- Steven Elliott Jr On Nov 2, 2009, at 5:34 PM, Connor <connor-rz19F5JFlzyQ6ZAhV5LmOA@public.gmane.org> wrote:> > Hi, > > When I try to launch my ruby on rails server, it says my ruby gems > version is not up to date. However it is. I''ve even tried reinstalling > ruby gems to the latest version, but it still says I have an old > version. Does anyone know how to fix this issue? I''d be deeply > grateful. > > Here is some code directly from my terminal (I''m on an ubuntu system): > > connor@connor-desktop:~/Desktop/project$ sudo ruby script/server > [sudo] password for connor: > Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update > --system` and try again. > connor@connor-desktop:~/Desktop/project$ gem update --system > Updating RubyGems > Nothing to update > > > Any ideas? > > >
Connor, yesterday,i have encounter same problem,but i resovled.so two comand can save your annoy. sudo gem install rubygems-update sudo update_rubygems -- tommy xiao --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---