Hi,
I upgraded my rails version to 2.3.4 and my ruby version is 1.8.6
My gem list contained initially
RubyGems -updated 1.3.1
When i started by server (ruby script/server)
i got an error saying that my ruby gems version is low and i've to
upgrade it.
I uninstalled the old one and installed the new version(1.3.2)
If i start the server , still i get the error.
Then i totally uninstalled the gem and tried running the server
expecting a "gem missing" error , but the same error popped up saying
that the rubygem version is 1.3.1, and 1.3.2 is needed..
What might be the reason behind it? When i dont have a gem, how do i get
an error saying that i've a older version?
Please help.
Thanks
···
--
Posted via http://www.ruby-forum.com/.
instead of reinstalling rubygems you could try
gem update --system
Maybe that works
Greetz!
When i started by server (ruby script/server)
···
i got an error saying that my ruby gems version is low and i've to
upgrade it.
I uninstalled the old one and installed the new version(1.3.2)
If i start the server , still i get the error.
Fabian Streitel wrote:
instead of reinstalling rubygems you could try
gem update --system
I previously tried gem update --system
It gave me this error
···
----------------------------------------------------------------------
Updating RubyGems
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Thats why I downloaded and installed the gems seperately.
Is there any other way to proceed?
--
Posted via http://www.ruby-forum.com/\.
Fabian Streitel wrote:
> instead of reinstalling rubygems you could try
> gem update --system
I previously tried gem update --system
It gave me this error
----------------------------------------------------------------------
Updating RubyGems
ERROR: RubyGems.org | your community gem host not appear to be a repository
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
This indicates a problem with a RubyForge mirror.
Please execute the same command, but add "--debug -V" at the end
That is going to provide information of the broken mirror. Then
forward or post that information here or RubyForge support forum.
Thats why I downloaded and installed the gems seperately.
Is there any other way to proceed?
An alternative is manually install RubyGems:
http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here-some-handy-tips/
HTH,
···
On Sep 22, 5:50 am, Preethi Sivakumar <preethi...@tcs.com> wrote:
--
Luis Lavena
I'd say it's a problem with your PC
Exception `Gem::RemoteFetcher::FetchError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:150 -
SocketError: get
addrinfo: no address associated with hostname.
(RubyGems.org | your community gem host)
looks like it can't connect to the server -- maybe some firewall running?
Greetz!
Luis Lavena wrote:
>> ERROR: ?RubyGems.org | your community gem host appear to be a repository
>> ERROR: ?While executing gem ... (Gem::RemoteFetcher::FetchError)
> This indicates a problem with a RubyForge mirror.
I ran the command with the debug option and i got this error trace
=========================================================================== ==
Exception `NameError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:134 -
uninitialized constant Gem::Commands
::UpdateCommand
Updating RubyGems
Exception `Gem::LoadError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:636 - RubyGem version error:
sources(0.0.1 not > 0.0.
1)
Exception `SocketError' at c:/ruby/lib/ruby/1.8/net/http.rb:564 -
getaddrinfo: no address associated with hostname.
Exception `Gem::RemoteFetcher::FetchError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:150 -
SocketError: get
addrinfo: no address associated with hostname.
(RubyGems.org | your community gem host)
Exception `SocketError' at c:/ruby/lib/ruby/1.8/net/http.rb:564 -
getaddrinfo: no address associated with hostname.
Exception `Gem::RemoteFetcher::FetchError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:150 -
SocketError: get
addrinfo: no address associated with hostname.
(RubyGems.org | your community gem host)
Exception `SocketError' at c:/ruby/lib/ruby/1.8/net/http.rb:564 -
getaddrinfo: no address associated with hostname.
Exception `Gem::RemoteFetcher::FetchError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:150 -
SocketError: get
addrinfo: no address associated with hostname.
(RubyGems.org | your community gem host)
ERROR: RubyGems.org | your community gem host not appear to be a repository
Exception `Gem::RemoteFetcher::FetchError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:149 -
SocketError: getad
drinfo: no address associated with hostname.
(RubyGems.org | your community gem host)
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SocketError: getaddrinfo: no address associated with hostname.
(RubyGems.org | your community gem host)
Looks like it cannot resolve the address.. "ping gems.rubyforge.org"
resolves to which IP?
=====================================
I'm not able to identify whether this is the problem with Mirror or my
system's ruby configuration.
If it is the problem with my PC please help how to solve it.
Just curious, are you behind an HTTP PROXY?
Also, please update your version of RubyGems manually first:
http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here-some-handy-tips/
And after that, please re-run the same command.
Looks like you're in Windows, which make me wonder which version did
you installed?
"gem env" will fill the gaps of missing information for us to help
you.
···
On Sep 22, 2:51 pm, Preethi Sivakumar <preethi...@tcs.com> wrote:
> On Sep 22, 5:50?am, Preethi Sivakumar <preethi...@tcs.com> wrote:
--
Luis Lavena
That's what it looks like to me.
I'd suggest bringing up a windows command window and try to
ping gems.rubyforge.org
to test basic network things like dns resolution, which is what the
"no address" message seems to be pointing to.
···
On Tue, Sep 22, 2009 at 12:36 PM, Fabian Streitel <karottenreibe@googlemail.com> wrote:
I'd say it's a problem with your PC
Exception `Gem::RemoteFetcher::FetchError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:150 -
SocketError: get
addrinfo: no address associated with hostname.
(RubyGems.org | your community gem host)
looks like it can't connect to the server -- maybe some firewall running?
--
Rick DeNatale
Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
Hi,
Just curious, are you behind an HTTP PROXY?
Yes I was behind a Proxy and Firewall was creating the problem.
Also, please update your version of RubyGems manually first:
http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here-some-handy-tips/
This link was of great help! Thanks. Now I have updated my gems version
manually and it worked!
Thanks much
Preethi.
···
--
Posted via http://www.ruby-forum.com/\.
Hi,
> Just curious, are you behind an HTTP PROXY?
Yes I was behind a Proxy and Firewall was creating the problem.
Please read RubyGems HTTP Proxy options to make it work in the future:
http://rubygems.org/read/chapter/13
(or the inlined help (gem help)
> Also, please update your version of RubyGems manually first:
>http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here\.\.\.
This link was of great help! Thanks. Now I have updated my gems version
manually and it worked!
Good to know
Cheers,
···
On Sep 23, 5:49 am, Preethi Sivakumar <preethi...@tcs.com> wrote:
--
Luis Lavena