[CentOS] gem install reel on Centos 7

Mon Aug 5 20:00:02 UTC 2019
John Pierce <jhn.pierce at gmail.com>

On Mon, Aug 5, 2019 at 5:01 AM Jerry Geis <jerry.geis at gmail.com> wrote:

> Thanks John for the info... I did that and now I'm missing a file.
> I tried to ask yum what package I need - but It did not know.
>
>
> Building native extensions.  This could take a while...
> ERROR: Failed to build gem native extension.
>
>     /opt/rh/rh-ruby22/root/usr/bin/ruby -r
> ./siteconf20190805-94063-1gebs0u.rb extconf.rb
> mkmf.rb can't find header files for ruby at
> /opt/rh/rh-ruby22/root/usr/share/include/ruby.h


most typically .h files are included in a -dev package, but I dunno about
this one.   googling rh-ruby22, I find, oops, its EOL, and replaced with
rh-ruby23

https://www.softwarecollections.org/en/scls/rhscl/rh-ruby23/

btw, with the SCL stuff, note the "scl enable rh-ruby23 bash" command, that
spawns you a shell with that packages directories in the path... that might
make this work. see that page for more details, including a gem run.


-- 
-john r pierce
  recycling used bits in santa cruz