Backport #8019
closed
Ruby 2.0.0p0 does not list remote gems anymore
Added by rubycoder (Ike Miller) over 11 years ago.
Updated over 11 years ago.
Description
gem list --remote --source http://gems.github.com
-just prints "*** REMOTE GEMS ***" then sits in an endless loop; same for other gem-repositories.
-tested it with 1.9.2 from same PCs: worked fine, so it is really a 2.0.0 problem
-tested it with 32bit and 64bit installers on different PCs (XP & Win7/64): always same result, reproducable error
- Category set to lib
- Status changed from Open to Assigned
- Assignee set to drbrain (Eric Hodel)
- Target version set to 2.1.0
=begin
I'm uncertain this is related to this issue, SSLErrors are shown with
ruby -d option.
Exception OpenSSL::SSL::SSLError' at /opt/local/lib/ruby/2.1.0/net/http.rb:917 - SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol Exception
OpenSSL::SSL::SSLError' at /opt/local/lib/ruby/2.1.0/net/http.rb:925 - SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol
Exception Gem::RemoteFetcher::FetchError' at /opt/local/lib/ruby/2.1.0/rubygems/remote_fetcher.rb:407 - SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol (http://gems.github.com/latest_specs.4.8.gz) Exception
Gem::RemoteFetcher::FetchError' at /opt/local/lib/ruby/2.1.0/rubygems/remote_fetcher.rb:282 - SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol (http://gems.github.com/latest_specs.4.8.gz)
=end
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r39606.
Ike, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
-
lib/rubygems/commands/query_command.rb: Only fetch remote specs when
showing details. [ruby-trunk - Bug #8019] RubyGems bug #487
-
lib/rubygems/remote_fetcher.rb: ditto.
-
lib/rubygems/security/policy.rb: ditto.
-
test/rubygems/test_gem_commands_query_command.rb: Test for the
above.
-
lib/rubygems/security.rb: Make OpenSSL optional for RubyGems.
-
lib/rubygems/commands/cert_command.rb: ditto.
-
lib/rubygems/config_file.rb: Display file with YAML error, not
~/.gemrc
-
lib/rubygems/remote_fetcher.rb: Only create gem subdirectories when
installing gems.
-
lib/rubygems/dependency_resolver.rb: ditto.
-
lib/rubygems/test_utilities.rb: ditto.
-
test/rubygems/test_gem_commands_fetch_command.rb: Test for the
above.
-
lib/rubygems/spec_fetcher.rb: Only try to upgrade
http://rubygems.org to HTTPS
-
test/rubygems/test_gem_spec_fetcher.rb: Test for the above.
-
lib/rubygems.rb: Update win_platform? check for JRuby compatibility.
-
test/rubygems/test_gem_installer.rb: Update for Ruby 1.9.2
compatibility
- Tracker changed from Bug to Backport
- Project changed from Ruby master to Backport200
- Category deleted (
lib)
- Status changed from Closed to Assigned
- Assignee changed from drbrain (Eric Hodel) to nagachika (Tomoyuki Chikanaga)
- Target version deleted (
2.1.0)
- Status changed from Assigned to Closed
This issue was solved with changeset r39797.
Ike, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
merge revision(s) 39606,39609: [Backport #8019]
* lib/rubygems/commands/query_command.rb: Only fetch remote specs when
showing details. [ruby-trunk - Bug #8019] RubyGems bug #487
* lib/rubygems/remote_fetcher.rb: ditto.
* lib/rubygems/security/policy.rb: ditto.
* test/rubygems/test_gem_commands_query_command.rb: Test for the
above.
* lib/rubygems/security.rb: Make OpenSSL optional for RubyGems.
* lib/rubygems/commands/cert_command.rb: ditto.
* lib/rubygems/config_file.rb: Display file with YAML error, not
~/.gemrc
* lib/rubygems/remote_fetcher.rb: Only create gem subdirectories when
installing gems.
* lib/rubygems/dependency_resolver.rb: ditto.
* lib/rubygems/test_utilities.rb: ditto.
* test/rubygems/test_gem_commands_fetch_command.rb: Test for the
above.
* lib/rubygems/spec_fetcher.rb: Only try to upgrade
http://rubygems.org to HTTPS
* test/rubygems/test_gem_spec_fetcher.rb: Test for the above.
* lib/rubygems.rb: Update win_platform? check for JRuby compatibility.
* test/rubygems/test_gem_installer.rb: Update for Ruby 1.9.2
compatibility
* test/rubygems/test_gem_spec_fetcher.rb: Removed unused variable.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0