Changes between Initial Version and Version 1 of Ticket #38992


Ignore:
Timestamp:
May 3, 2013, 1:41:02 PM (11 years ago)
Author:
ci42
Comment:

In the future please use WikiFormatting, Cc' the maintainer and fill in the port field.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38992

    • Property Keywords ruby gem remote removed
    • Property Owner changed from macports-tickets@… to kimuraw@…
    • Property Port ruby20 added
  • Ticket #38992 – Description

    initial v1  
    11I try to use Ruby 2.0 on my MAC OSX Mountain Lion with macports. The "sudo port install ruby2.0" and "sudo port select --set ruby ruby2.0" was success. But when I try to install gem package I have these errors:
    22
    3 sudo gem list --remote -V --backtrace Password: *** REMOTE GEMS *** GET http://rubygems.org/latest_specs.4.8.gz 302 Moved Temporarily GET http://production.s3.rubygems.org/latest_specs.4.8.gz connection reset after 1 requests, retrying GET http://production.s3.rubygems.org/latest_specs.4.8.gz connection reset after 1 requests, retrying
     3{{{
     4sudo gem list --remote -V --backtrace
     5Password:
     6*** REMOTE GEMS ***
     7GET http://rubygems.org/latest_specs.4.8.gz
     8302 Moved Temporarily GET http://production.s3.rubygems.org/latest_specs.4.8.gz
     9connection reset after 1 requests, retrying
     10GET http://production.s3.rubygems.org/latest_specs.4.8.gz
     11connection reset after 1 requests, retrying
     12}}}
    413
    514Some others informations:
    6 >$ sudo gem environment RubyGems Environment: - RUBYGEMS VERSION: 2.0.0 - RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [x86_64-darwin12] - INSTALLATION DIRECTORY: /opt/local/lib/ruby2.0/gems/2.0.0 - RUBY EXECUTABLE: /opt/local/bin/ruby2.0 - EXECUTABLE DIRECTORY: /opt/local/bin - RUBYGEMS PLATFORMS: - ruby - x86_64-darwin-12 - GEM PATHS: - /opt/local/lib/ruby2.0/gems/2.0.0 - /Users/fred/.gem/ruby/2.0.0 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/ >$ sudo gem list -d *** LOCAL GEMS *** bigdecimal (1.2.0) Authors: Kenta Murata, Shigeo Kobayashi Homepage: http://www.ruby-lang.org Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 Arbitrary-precision decimal floating-point number library. io-console (0.4.2) Author: Nobu Nakada Homepage: http://www.ruby-lang.org License: ruby Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 Console interface json (1.7.7) Author: Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 This json is bundled with Ruby minitest (4.3.2) Author: Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 This minitest is bundled with Ruby psych (2.0.0) Author: Aaron Patterson Homepage: http://github.com/tenderlove/psych Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 Psych is a YAML parser and emitter rake (0.9.6) Author: Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 This rake is bundled with Ruby rdoc (4.0.0) Author: Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 This rdoc is bundled with Ruby test-unit (2.0.0.0) Author: Shota Fukumori Homepage: http://www.ruby-lang.org Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 test/unit compatible API testing framework
    7 
     15{{{
     16$ sudo gem environment
     17RubyGems Environment:
     18 - RUBYGEMS VERSION: 2.0.0
     19 - RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [x86_64-darwin12]
     20 - INSTALLATION DIRECTORY: /opt/local/lib/ruby2.0/gems/2.0.0
     21 - RUBY EXECUTABLE: /opt/local/bin/ruby2.0
     22 - EXECUTABLE DIRECTORY: /opt/local/bin
     23 - RUBYGEMS PLATFORMS: - ruby - x86_64-darwin-12
     24 - GEM PATHS: - /opt/local/lib/ruby2.0/gems/2.0.0 - /Users/fred/.gem/ruby/2.0.0
     25 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :backtrace => false - :bulk_threshold => 1000
     26 - REMOTE SOURCES: - http://rubygems.org/
     27$ sudo gem list -d
     28*** LOCAL GEMS ***
     29bigdecimal (1.2.0) Authors: Kenta Murata, Shigeo Kobayashi Homepage: http://www.ruby-lang.org Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 Arbitrary-precision decimal floating-point number library.
     30io-console (0.4.2) Author: Nobu Nakada Homepage: http://www.ruby-lang.org License: ruby Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 Console interface
     31json (1.7.7) Author: Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 This json is bundled with Ruby
     32minitest (4.3.2) Author: Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 This minitest is bundled with Ruby
     33psych (2.0.0) Author: Aaron Patterson Homepage: http://github.com/tenderlove/psych Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 Psych is a YAML parser and emitter
     34rake (0.9.6) Author: Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 This rake is bundled with Ruby
     35rdoc (4.0.0) Author: Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 This rdoc is bundled with Ruby
     36test-unit (2.0.0.0) Author: Shota Fukumori Homepage: http://www.ruby-lang.org Installed at (default): /opt/local/lib/ruby2.0/gems/2.0.0 test/unit compatible API testing framework
     37}}}
    838Workaround :
    939I uninstall all macports ruby packages. And install RVM (https://rvm.io/rvm/). Activate ruby 2.0.0-p0 by rvm. And now, the "gem list -r" is fully functionnal. So, we have a bug with gem in macport, not a network problem.