You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gem install nexus fails. jruby-9.1.2.0 gives an IOError and jruby-1.7.25 an SockerError. the respective code in rubygems looks like
begin
res = @dns.getresource "_rubygems._tcp.#{host}",
Resolv::DNS::Resource::IN::SRV
rescue Resolv::ResolvError
uri
else
target = res.target.to_s.strip
if /\.#{Regexp.quote(host)}\z/ =~ target
return URI.parse "#{uri.scheme}://#{target}#{uri.path}"
end
uri
end
where host is localhost and @dns = Resolv::DNS.new. I am not sure what the idea of the reverse lookup but jruby clearly throws different errors then MRI.
Actual Behavior
gem install nexus works on local repository server without further internet
the sonatype nexus server is a caching proxy and can cache rubygems repositories. one feature is that it can serve everything locally cached even with cut internet.
The text was updated successfully, but these errors were encountered:
Environment
Provide at least:
Expected Behavior
gem install nexus
fails. jruby-9.1.2.0 gives anIOError
and jruby-1.7.25 anSockerError
. the respective code in rubygems looks likewhere host is
localhost
and@dns = Resolv::DNS.new
. I am not sure what the idea of the reverse lookup but jruby clearly throws different errors then MRI.Actual Behavior
gem install nexus
works on local repository server without further internetthe sonatype nexus server is a caching proxy and can cache rubygems repositories. one feature is that it can serve everything locally cached even with cut internet.
The text was updated successfully, but these errors were encountered: