Just providing closure on this. I got no response, here or on the gems list, so I monkey-patched rubygems to do an exact name match for 'gem list'. That fixed my problem, since all I care about is making it work when called programmatically from my app.
I still think it's kind of an issue if "gem list activerecord --remote' fails, but oh well :) I'm switching this list to archived, so CC thewoolleyman at gmail.com if you follow up on this thread. -- Chad On 4/30/07, Chad Woolley <[EMAIL PROTECTED]> wrote:
I checked out the source of AR-JDBC and poked around, but I didn't see anything suspicious that looked like it could cause this. Just a standard Hoe config. It would take some digging (for me at least) to figure out what is wrong. On 4/30/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > Chad Woolley wrote: > > Thanks. I'm not trying to install the gem, or even use it :) The > > problem is that it causes an exception when I do a remote gem list > > with a search term of plain 'activerecord': > > > > > > chadmac:~ woolley$ gem list activerecord --remote > > > > *** REMOTE GEMS *** > > ERROR: While executing gem ... (NoMethodError) > > private method `scan' called for #<YAML::PrivateType:0x300bd08> > > > > I can't see a way to do an exact name match with 'gem list', which > > would avoid the problem entirely. If there isn't a way, I'll see if I > > can submit a patch to add it (going off to check the rubygems list...) > > Well then that is weird...and it appears it's something about AR-JDBC > causing it to blow up, eh? > > I know very little about YAML, so perhaps someone else here will have to > look into it. It's certainly possible gems built under JRuby have some > YAML problem that interferes with "list". > > - Charlie > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > >
--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
