On May 11, 3:16=A0pm, Luis Lavena <luislav... / gmail.com> wrote:
> On May 11, 1:41=A0pm, John <jhs... / gmail.com> wrote:
>
>
>
>
>
>
>
>
>
> > The command =A0"gem list -rd =A0a" =A0 generates the following error:
>
> > C:\gemlist>gem list -rd a
>
> > *** REMOTE GEMS ***
>
> > ERROR: =A0While executing gem ... (ArgumentError)
> > =A0 =A0 undefined class/module YAML::Syck::DefaultKey
>
> > C:\Users\spanton\gemlist>gem update --system
> > Latest version currently installed. Aborting.
>
> > -------------------------------------------------------------------
> > I running the following software:
>
> > Windows 7
> > ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
> > gem =A01.8.1
>
> > Any suggetions or workaround?
>
> Please provide the full output of "gem env" plus the same command with
> "--debug -V" options:
>
> gem list -rd --debug -V
>
> One small note, listing remote gems might take a while, are you sure
> you want to do that instead of browse rubygems.org?
>
> --
> Luis Lavena
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
I am trying to create a index of gem names & Summary lines
so that I can perform keyword searches. The gem name alone
does not provide enough info to identify the code.
Thanks for your help,
John
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The following is the information you requesed:
C:\tools>gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.1
  - RUBY VERSION: 1.8.7 (2011-03-15 patchlevel 330) [java]
  - INSTALLATION DIRECTORY: c:/jruby-1.6.0/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: c:/jruby-1.6.0/bin/jruby.exe
  - EXECUTABLE DIRECTORY: c:/jruby-1.6.0/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - universal-java-1.6
  - GEM PATHS:
     - c:/jruby-1.6.0/lib/ruby/gems/1.8
     - C:/Users/spanton/.gem/jruby/1.8
  - GEM CONFIGURATION:
     - :update_sources =3D> true
     - :verbose =3D> true
     - :benchmark =3D> false
     - :backtrace =3D> false
     - :bulk_threshold =3D> 1000
     - "install" =3D> "--no-rdoc --no-ri --env-shebang"
     - "update" =3D> "--no-rdoc --no-ri --env-shebang"
  - REMOTE SOURCES:
     - http://rubygems.org/



C:\tools>gem list -rd --debug -V

*** REMOTE GEMS ***

GET http://rubygems.org/latest_specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET http://rubygems.org/quick/Marshal.4.8/ace-rails-0.0.2.gemspec.rz
Exception `EOFError' at org/jruby/RubyIO.java:2637 - End of file
reached
Exception `EOFError' at org/jruby/RubyIO.java:2637 - End of file
reached
connection reset after 2 requests, retrying
GET http://rubygems.org/quick/Marshal.4.8/ace-rails-0.0.2.gemspec.rz
302 Found
GET http://production.cf.rubygems.org/quick/Marshal.4.8/ace-rails-0.0.2.gem=
spec.rz
200 OK
ERROR:  While executing gem ... (ArgumentError)
    undefined class/module YAML::Syck::DefaultKey
        org/jruby/RubyMarshal.java:148:in `load'
        c:/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/
specification.rb:614:in `_load'
        org/jruby/RubyMarshal.java:148:in `load'
        c:/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:
134:in `fetch_spec'
        c:/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/commands/
query_command.rb:195:in `output_query_results'
        org/jruby/RubyArray.java:1572:in `each'
        c:/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/commands/
query_command.rb:146:in `output_query_results'
        c:/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/commands/
query_command.rb:121:in `execute'
        c:/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/commands/
list_command.rb:31:in `execute'
        c:/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/command.rb:
278:in `invoke'
        c:/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/
command_manager.rb:147:in `process_args'
        c:/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/
command_manager.rb:117:in `run'
        c:/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:
64:in `run'
        c:\jruby-1.6.0\bin\gem:21:in `(root)'
Exception `Gem::SystemExitException' at c:/jruby-1.6.0/lib/ruby/
site_ruby/1.8/rubygems/user_interaction.rb:332 - Exiting RubyGems with
exit_
code 1