Hello Team Problem:
i get this error while installing Foreman and puppet modules on centos 7 server :
usr/local/rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- kafo (LoadError) from /usr/local/rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:inrequire’
from /usr/sbin/foreman-installer:3:in `’
On a production system we always recommend to avoid using gem and always install it via packages. Recently we’ve learned that foreman-installer has the wrong shebang (/usr/bin/env ruby instead of /usr/bin/ruby) which may explain why it doesn’t always work. This needs a patch in packaging.