From: Rob Sanheim Date: 2009-09-11T05:42:29+09:00 Subject: Re: Ruby 1.9, Rubygems, and .gemspec warnings --000e0cd56518cacdc104733f2711 Content-Type: text/plain; charset=ISO-8859-1 I don't think so, I can reproduce this without jeweler in the mix at all. bug: http://rubyforge.org/tracker/index.php?func=detail&aid=27087&group_id=126&atid=575 code: http://github.com/rsanheim/ruby19_rubygems_bug/blob/09a9f683fe7848980e10ac7bd2291040ec11ea17/Rakefile failing build against ruby 1.9: http://runcoderun.com/rsanheim/ruby19_rubygems_bug/builds/09a9f683fe7848980e10ac7bd2291040ec11ea17/1/ruby_191 Thanks, Rob On Thu, Sep 10, 2009 at 1:24 AM, Adam Salter wrote: > Hey... Did you get a fix for this? > I'm also seeing the same issue. Snow Leopard, ruby 1.9.1 > > It is definitely a problem with the 'jeweler' gem. I'm raising a bug > in github now... > > http://github.com/technicalpickles/jeweler/issues > > On Sep 7, 6:02 pm, Rob Sanheim wrote: > > Hi all > > I'm getting a massive amount of gemspec warnings to STDERR in Ruby 1.9.1 > > whenever 'rubygems/specification' gets required. The error I'm seeing > is: > > > > WARNING: #' for nil:NilClass> > > WARNING: Invalid .gemspec format in > > '/Users/rsanheim/.gem/ruby/1.9.1/specifications/rake-0.8.7.gemspec' > > > > This is happening for just about any gem I install under 1.9, so I don't > > think its an issue specific to any one gem. I *only* see the warnings if > I > > require rubygems/specification -- I can use gems and require rubygems > > without the issue. > > > > I've included full output of the issue on pastie, because the log is > pretty > > long, as gems spits out the full gemspec along side the warnings: > > > > http://pastie.org/608299 > > > > Note that the log is from Leopard, but I've also seen the issue on Ubuntu > > 8.10. > > > > Does this look like something I'm installing wrong, or should I file an > > issue against rubygems? > > > > Thanks, > > Rob > > --000e0cd56518cacdc104733f2711--