Project

General

Profile

Backport #8019

Ruby 2.0.0p0 does not list remote gems anymore

Added by rubycoder (Ike Miller) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:53140]

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

Associated revisions

Revision 7a88ad0a
Added by drbrain (Eric Hodel) over 6 years ago

  • 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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 39606
Added by drbrain (Eric Hodel) over 6 years ago

  • 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

Revision 39606
Added by drbrain (Eric Hodel) over 6 years ago

  • 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

Revision 39606
Added by drbrain (Eric Hodel) over 6 years ago

  • 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

Revision 39606
Added by drbrain (Eric Hodel) over 6 years ago

  • 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

Revision 39606
Added by drbrain (Eric Hodel) over 6 years ago

  • 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

Revision 39606
Added by drbrain (Eric Hodel) over 6 years ago

  • 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

Revision 3e3f0346
Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 39797
Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

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.

History

Updated by nobu (Nobuyoshi Nakada) over 6 years ago

  • 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

#2

Updated by drbrain (Eric Hodel) over 6 years ago

  • 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

#3

Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago

  • 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)
#4

Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago

  • 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