~$ gem install nokogiri
ERROR: Error installing nokogiri:
invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /home/yipl/.rvm/gems/ruby-2.2.0/cache/nokogiri-1.6.5.gem
remove cache nokogiri and good to go
~$ rm /home/yipl/.rvm/gems/ruby-2.2.0/cache/nokogiri-1.6.5.gem
~$ gem install nokogiri
Thanks, it worked for me.
not worked for me
Thanks! this worked for me. Of course, I had to change the path of the cache file.
Works for me as well!
thank you very much, and i wonder how you knew that?
remove cache nokogiri and good to go
~$ rm /home/yipl/.rvm/gems/ruby-2.2.0/cache/nokogiri-1.6.5.gem
~$ gem install nokogiri
Thank this has worked for me also
Most helpful comment
remove cache nokogiri and good to go
~$ rm /home/yipl/.rvm/gems/ruby-2.2.0/cache/nokogiri-1.6.5.gem
~$ gem install nokogiri