Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
user@desktop:~$ sudo gem install jekyll
Building native extensions. This could take a while...
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.
/usr/bin/ruby2.2 -r ./siteconf20151101-3291-1jum1dm.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/2.2.0/gems/ffi-1.9.10 for inspection.
Results logged to /var/lib/gems/2.2.0/extensions/x86_64-linux/2.2.0/ffi-1.9.10/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment