pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem with gem1.8



> I feel not same (os networking settings, or something), so failed.
> You should add "-V" (or --debug) options to gem and look at what is
> happend.

Ok, so here's the "-V" output:

% gem install -V rails --http-proxy=http://mmoproxy....de:8080/
ERROR:  http://rubygems.org/ does not appear to be a repository
Error fetching remote data:             SocketError: getaddrinfo: no address 
for the specified node name (http://rubygems.org/yaml)
Falling back to local-only install
ERROR:  Could not find a valid gem 'rails' (>= 0) in any repository

(BTW, a 'nslookup rubygems.org' does work:
Non-authoritative answer:
Name:   rubygems.org
Address: 72.4.120.124)

And this with "--debug":

% gem install --debug rails --http-proxy=http://mmoproxy....de:8080/
Exception `NameError' at 
/usr/pkg/lib/ruby/vendor_ruby/1.8/rubygems/command_manager.rb:164 - 
uninitialized constant Gem::Commands::InstallCommand
Exception `NoMethodError' at /usr/pkg/lib/ruby/1.8/rational.rb:78 - undefined 
method `gcd' for Rational(1, 2):Rational
Exception `Gem::LoadError' at /usr/pkg/lib/ruby/vendor_ruby/1.8/rubygems.rb:783 
- Could not find RubyGem test-unit (>= 0)

Exception `Gem::LoadError' at /usr/pkg/lib/ruby/vendor_ruby/1.8/rubygems.rb:783 
- Could not find RubyGem sources (> 0.0.1)

Exception `SocketError' at /usr/pkg/lib/ruby/1.8/net/http.rb:560 - getaddrinfo: 
no address for the specified node name
Exception `Gem::RemoteFetcher::FetchError' at 
/usr/pkg/lib/ruby/vendor_ruby/1.8/rubygems/remote_fetcher.rb:180 - SocketError: 
getaddrinfo: no address for the specified node name 
(http://rubygems.org/latest_specs.4.8.gz)
Exception `SocketError' at /usr/pkg/lib/ruby/1.8/net/http.rb:560 - getaddrinfo: 
no address for the specified node name
Exception `Gem::RemoteFetcher::FetchError' at 
/usr/pkg/lib/ruby/vendor_ruby/1.8/rubygems/remote_fetcher.rb:180 - SocketError: 
getaddrinfo: no address for the specified node name 
(http://rubygems.org/specs.4.8.gz)
Exception `SocketError' at /usr/pkg/lib/ruby/1.8/net/http.rb:560 - getaddrinfo: 
no address for the specified node name
Exception `Gem::RemoteFetcher::FetchError' at 
/usr/pkg/lib/ruby/vendor_ruby/1.8/rubygems/remote_fetcher.rb:180 - SocketError: 
getaddrinfo: no address for the specified node name (http://rubygems.org/yaml)
ERROR:  http://rubygems.org/ does not appear to be a repository
Exception `Gem::RemoteFetcher::FetchError' at 
/usr/pkg/lib/ruby/vendor_ruby/1.8/rubygems/spec_fetcher.rb:178 - SocketError: 
getaddrinfo: no address for the specified node name (http://rubygems.org/yaml)
Exception `Gem::GemNotFoundException' at 
/usr/pkg/lib/ruby/vendor_ruby/1.8/rubygems/dependency_installer.rb:225 - Could 
not find a valid gem 'rails' (>= 0) locally or in a repository
ERROR:  Could not find a valid gem 'rails' (>= 0) in any repository


Home | Main Index | Thread Index | Old Index