Project

General

Profile

Bug #6474

rubygems not loaded before gems themselves

Added by Dominic Cleal over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Category:
Packaging
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
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

Related to Foreman - Bug #6436: Modularized proxy attempts to load plugins before loading core modulesClosed2014-06-30

Associated revisions

Revision 9ac3e80e (diff)
Added by Dmitri Dolguikh over 6 years ago

fixes #6474: smart-proxy relies on Bundler to load sinatra dependency

History

#1 Updated by Dominic Cleal over 6 years ago

  • Related to Bug #6436: Modularized proxy attempts to load plugins before loading core modules added

#2 Updated by Dmitri Dolguikh over 6 years ago

  • Status changed from Assigned to Ready For Testing

#3 Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF