I was trying to install rails in ubuntu 14.04, but I am getting the following error.
$gem install rails ERROR: Error installing rails: invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /home/usr/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/cache/nokogiri-1.6.7.1.gem Please Help with this. Thank You. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5549b9c6-3b5e-429c-84b7-8fb3100dab2e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.