So, I had a working installation of Foreman (used only for reporting from my puppet server, which is on a different host) running until yesterday.
My boss wanted to have additional columns in the hosts-view and after much looking I found foreman_column_view, which I thought I’d try.
That led to my Foreman now crashing at every touch, with the error in the subject…
I spent most of yesterday trying to find out why it doesn’t find the installed bundler_ext (0.4.1), and this morning I decided to start from scratch.
I removed foreman completely and re-installed it.
And now I get the error already when running foreman-installer…
I don’t have foreman_column_view installed yet.
I removed Foreman using yum -y erase *foreman*
What difference does it make how I removed it?
Why doesn’t foreman-rake find the installed bundler_ext?
I now have it in 3 different places in my filesystem, but still it’s not found: /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb /opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb /usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb
But you tried installing it, and I wonder how you did it, to understand where the issue might be coming from.
If something damaged your Ruby/SCL install, and you just purged Foreman itself, your Ruby is still broken and reinstalling Foreman won’t help.
/opt/rh/rh-ruby25/root/usr/local/share/gems/gems/bundler_ext-0.4.1 should not exist, the local in the path implies it was created by a gem install or similar.
Can you post the output of scl enable rh-ruby25 -- gem list --all bundler_ext and scl enable tfm -- gem list --all bundler_ext. On a vanilla foreman install, the first command should not return any gems, but I’d expect yours does.
Can you also post ls /opt/rh/rh-ruby25/root/usr/local/share/gems/gems/?
I would always avoid using gem install foreman_column_view. If that’s what you did in the first place, you’re probably mixing different Ruby versions. Did you install the RPM on the first try?
So, why did you want me to supply you with all that information then? Just to be able to tell me I’d done something wrong? As if I hadn’t figured that out myself, since it stopped working after I had tried to install the plugin.
So, clean install then, and do not try to install the column_view plugin?
I’ll try, but the manually installed version of the gem was installed after this problem showed itself for the first time, as a try for remediation of the (as indicated) missing gem…