[Rubygems-developers] Error when remotely listing ActiveRecord-JDBC with RubyGems 0.9.2

Chad Woolley thewoolleyman at gmail.com
Sat Apr 28 20:14:26 EDT 2007


Hi,

I get the following error when listing ActiveRecord-JDBC remotely with
RubyGems 0.9.2.  It happens on OSX and Linux, but not windows.  It
doesn't happen on RubyGems 0.9.0.  There also looks like there's a
related bug which is open:

http://rubyforge.org/tracker/index.php?func=detail&aid=8359&group_id=126&atid=575

Here's the error.  It also occurs when using plain 'activerecord' as
the search string, but I think this is because ActiveRecord-JDBC is
matching the substring, because you can see that activerecord-mimer
does not get an error:

/> gem --version
0.9.2
/> gem list ActiveRecord-JDBC --remote --debug --backtrace
Exception `Errno::ENOENT' at
/usr/local/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:51 - No such
file or directory - /Users/pivotal/.gemrc

*** REMOTE GEMS ***
Exception `NoMethodError' at
/usr/local/lib/ruby/site_ruby/1.8/rubygems/version.rb:136 - private
method `scan' called for #<YAML::PrivateType:0x4afc610>
ERROR:  While executing gem ... (NoMethodError)
    private method `scan' called for #<YAML::PrivateType:0x4afc610>
/usr/local/lib/ruby/site_ruby/1.8/rubygems/version.rb:136:in `to_ints'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/version.rb:147:in `<=>'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/version.rb:198
/usr/local/lib/ruby/site_ruby/1.8/rubygems/version.rb:292:in `satisfy?'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/version.rb:283:in `satisfied_by?'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `all?'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/version.rb:283:in `satisfied_by?'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:210:in `search'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:208:in `search'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:109:in `search'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `map'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:108:in `search'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:49:in `search'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:806:in `execute'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:886:in `execute'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/command.rb:70:in `invoke'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:120:in `process_args'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:91:in `run'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:30:in `run'
/usr/local/bin/gem:23
/> gem list activerecord-mimer --remote

*** REMOTE GEMS ***


activerecord-mimer (0.0.4, 0.0.3, 0.0.2, 0.0.1)
    Mimer support for ActiveRecord.
/>


More information about the Rubygems-developers mailing list