pkgsrc-Bugs archive

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

pkg/44039: ruby18/gem18 unable to resolve hostnames



>Number:         44039
>Category:       pkg
>Synopsis:       ruby18/gem18 unable to resolve hostnames
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 04 15:20:01 +0000 2010
>Originator:     Stefan Palm
>Release:        pkgsrc-2010Q3
>Organization:
>Environment:
SunOS neuwied2 5.10 Generic_142900-12 sun4u sparc SUNW,SPARC-Enterprise
>Description:
'gem1.8' is unable to connect to http://rubygems.org as it is unable to resolve 
the hostname for rubygems.org and/or my proxy.

% gem install --debug rails -v=2.3.5 --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

Using 'nslookup ' on the same host will resolve both - rubygems.org as well as 
the proxy.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index