[Rdo-list] Centos 6.5 Staypuft OpenStack Foreman Installer Ruby Error

Marek Hulan mhulan at redhat.com
Fri Jun 20 08:16:21 UTC 2014


On Wednesday 18 of June 2014 02:24:01 Antonio C. Velez wrote:
> Hi All,
> 
> I'm testing the staypuft project in centos 6.5 x86_64 everything is working
> correctly using an older version:
> foreman-installer-staypuft-0.0.12-1.el6.noarch.rpm, but if I try with a
> newer version got the following error:
> 
> # staypuft-installer
> /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in
> `require': cannot load such file -- highline/import (LoadError) from
> /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in
> `require' from /usr/sbin/staypuft-installer:3:in `<main>'
> 
> Someone you know what I'm missing?
> 
> Thanks!

Hello,

just for the records, this was fixed in foreman-installer-staypuft v 0.0.20. As 
a workaround you should be able to fix shebang of staypuft-installer script to 
"/usr/bin/env ruby" so it does not try to use SCL ruby.

-- 
Marek




More information about the dev mailing list