Project

General

Profile

Actions

Bug #6474

closed

rubygems not loaded before gems themselves

Added by Dominic Cleal almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Packaging
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

#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.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #6436: Modularized proxy attempts to load plugins before loading core modulesClosed06/30/2014Actions
Actions

Also available in: Atom PDF