Hi - I installed ruby for something... The instructions said to also do the comand: gem install reel ERROR: Error installing reel: timers requires Ruby version >= 2.2.1. [root at devgeis ~]# ruby --version ruby 2.0.0p648 (2015-12-16) [x86_64-linux] Not sure what to do. Wait for Centos 8? Thoughts? Thanks, Jerry
On Sun, Aug 4, 2019 at 6:21 PM Jerry Geis <jerry.geis at gmail.com> wrote:> Hi - I installed ruby for something... > The instructions said to also do the comand: > > gem install reel > ERROR: Error installing reel: > timers requires Ruby version >= 2.2.1. > [root at devgeis ~]# ruby --version > ruby 2.0.0p648 (2015-12-16) [x86_64-linux] > > Not sure what to do. Wait for Centos 8? Thoughts? Thanks, > > >Install CentOS SCLo RH repository: yum install centos-release-scl-rh Install rh-ruby22-ruby rpm package: yum install rh-ruby22-ruby currently 2.2.9, I think. -- -john r pierce recycling used bits in santa cruz
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 extconf failed, exit code 1 Gem files will remain installed in /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/nio4r-1.1.1 for inspection. Results logged to /opt/rh/rh-ruby22/root/usr/local/lib64/gems/ruby/nio4r-1.1.1/gem_make.out yum provides /opt/rh/rh-ruby22/root/usr/share/include/ruby.h Loaded plugins: fastestmirror, langpacks, nvidia Loading mirror speeds from cached hostfile * base: mirror.tzulo.com * centos-sclo-rh: mirror.team-cymru.com * centos-sclo-sclo: mirror.fileplanet.com * elrepo: ord.mirror.rackspace.com * epel: ord.mirror.rackspace.com * extras: mirror.nodesdirect.com * updates: mirrors.liquidweb.com centos-sclo-rh/x86_64/filelists_db | 12 MB 00:00:01 elrepo/filelists_db | 34 kB 00:00:00 epel/x86_64/filelists_db | 12 MB 00:00:00 google-chrome/filelists | 1.7 kB 00:00:00 updates/7/x86_64/filelists_db | 5.2 MB 00:00:00 No matches found Thanks, What is next ? Jerry>
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.hmost 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
Seemingly Similar Threads
- gem install reel on Centos 7
- [CentALT] php-redis depedency error.
- libpq.so.4 missing
- Announcing release for Ruby 1.9.3, 2.0.0, 2.2 and Ruby on Rails 3.2, 4.0, 4.1 on CentOS Linux 7 x86_64 SCL
- Announcing release for Ruby 1.9.3, 2.0.0, 2.2 and Ruby on Rails 3.2, 4.0, 4.1 on CentOS Linux 6 x86_64 SCL