[Rubygems-developers] Rubygems Errors

Eric Hodel drbrain at segment7.net
Tue Jul 29 16:44:33 EDT 2008

On Jul 29, 2008, at 11:16 AM, Matt White wrote:
> >> irb(main):001:0> require 'rubygems'
> >> => true
> >> irb(main):002:0> require 'hpricot'
> >> NoMethodError: private method `specification_version=' called for
> >> #<Gem::Specification:0xb7c8d1a8>
> >>
> > This method is most definitely not private in 1.2.0.  If you  
> installed
> > a gem with 1.2.0 then rolled back to an older rubygems you'll need  
> to
> > reinstall those gems.
> This is the error I get when I revert to 0.9.0, not in 1.2.0.

Yes, installed gem repositories may not be backwards compatible.

> With 1.2.0, I get the invalid certificate error. I didn't update any  
> gems since making the upgrade. I've disabled certificate  
> verification for the time being as a workaround and kept Rubygems at  
> 1.2.0. Is there perhaps something else I might need to update? Any  
> more information I should give to help diagnose the error? Thanks  
> again.

It's possible that you're using the soap4r gem instead of the built-in  
version depending on which version of RubyGems you're using, beyond  
that I'm not sure.  You'll have to some digging to find out.

More information about the Rubygems-developers mailing list