From: Adam Salter Date: 2009-09-10T14:24:09+09:00 Subject: Re: Ruby 1.9, Rubygems, and .gemspec warnings 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