Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Jekyll fails to get installed on ruby 2.2.2 #3909
I've installed ruby-2.2.2 and installed a lot of gems including rails and sequel and others. However when I tried to install jekyll it failed to get installed and threw the following error.
gem install jekyll [20:57:41] ERROR: Error installing jekyll: invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /Users/arpit/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/cache/pygments.rb-0.6.3.gem
Then I explicitly tried to install
That's not a problem with Jekyll that's a problem with RubyGems (literally) clear your gem cache and then try again, either the download was modified by a middle-man in route and failed the check or your download was cut short (for various reasons).