rubygems not loaded before gems themselves
#6436 has broken the EL6 package installation, which can no longer start the foreman-proxy service:
[root@foreman-el6 ~]# service foreman-proxy start Starting foreman-proxy: /usr/share/foreman-proxy/lib/smart_proxy.rb:5:in `require': no such file to load -- sinatra (LoadError) from /usr/share/foreman-proxy/lib/smart_proxy.rb:5 from /usr/share/foreman-proxy/bin/smart-proxy:5:in `require' from /usr/share/foreman-proxy/bin/smart-proxy:5 [FAILED]
It appears that bundler_helper was responsible for requiring rubygems, but is now used after the attempt to require sinatra. It probably needs splitting into an initialisation part (to require rubygems, bundler_ext) and another to do the original job of require_groups.
#2 Updated by Dmitri Dolguikh almost 7 years ago
- Status changed from Assigned to Ready For Testing