Ruby Gems version issue

View: New views
5 Messages — Rating Filter:   Alert me  

Ruby Gems version issue

by Connor-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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?

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby Gems version issue

by Frederick Cheung-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




On Nov 2, 10:34 pm, Connor <con...@...> 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
--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby Gems version issue

by Steven Elliott Jr-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...> wrote:

>
>
>
> On Nov 2, 10:34 pm, Connor <con...@...> 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
> >

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby Gems version issue

by Steven Elliott Jr-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...> 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?
>
> >

--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Ruby Gems version issue

by xds2000 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---