From: David Unric Date: 2012-10-18T20:42:04+09:00 Subject: Re: ERROR: Isn't a Gem::Specification (NilClass instead). ajay paswan wrote in post #1080255: > why I am getting this error? and how to fix it? > > gem --version > > [/usr/lib/ruby/gems/1.8/specifications/treetop-1.4.11.gemspec] isn't a > Gem::Specification (NilClass instead). > [/usr/lib/ruby/gems/1.8/specifications/i18n-0.6.1.gemspec] isn't a > Gem::Specification (NilClass instead). > [/usr/lib/ruby/gems/1.8/specifications/polyglot-0.3.3.gemspec] isn't a > Gem::Specification (NilClass instead). > [/usr/lib/ruby/gems/1.8/specifications/mail-2.4.4.gemspec] isn't a > Gem::Specification (NilClass instead). > [/usr/lib/ruby/gems/1.8/specifications/mime-types-1.19.gemspec] isn't a > Gem::Specification (NilClass instead). > 1.8.24 Probably a messed installation. What does contain the file /usr/lib/ruby/gems/1.8/specifications/i18n-0.6.1.gemspec ? Is it a correct Gem::Specification instance initializing code ? -- Posted via http://www.ruby-forum.com/.