You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by Dan Debrunner <dj...@debrunners.com> on 2016/04/01 22:16:52 UTC

Installing Jeykll failing?


The website repo README.md says "requires jekyll".

https://github.com/apache/incubator-quarks-website/blob/master/README.md


I assume that means this: https://jekyllrb.com/

which indicates it uses gem to install, so gem is also required, which also requires Ruby.

However, I failed to get the gem install jekyll to work:

[root@streamsqse rubygems-2.6.2]# gem install jekyll 
Fetching: safe_yaml-1.0.4.gem (100%) 
Successfully installed safe_yaml-1.0.4 
Fetching: liquid-3.0.6.gem (100%) 
Successfully installed liquid-3.0.6 
Fetching: colorator-0.1.gem (100%) 
Successfully installed colorator-0.1 
Fetching: ffi-1.9.10.gem (100%) 
Building native extensions.  This could take a while... 
ERROR:  Error installing jekyll: 
ERROR: Failed to build gem native extension. 

current directory: /usr/lib64/ruby/gems/1.8/gems/ffi-1.9.10/ext/ffi_c 
/usr/bin/ruby -r ./siteconf20160401-22605-1usqk3b-0.rb extconf.rb 
mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h 

extconf failed, exit code 1 



Does anyone have a write up of the process used to install Jekyll?

Thanks,
Dan.

Re: Installing Jeykll failing?

Posted by Alexander Cook <ac...@umn.edu>.
Hi Dan,

Try this to get the header files:
$ yum install ruby-devel

Then try the jekyll install again. This may also be helpful:
https://jekyllrb.com/docs/troubleshooting/

Alex