Re: gem install reel on Centos 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Aug 5, 2019 at 5:01 AM Jerry Geis <jerry.geis@xxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux