RedHatSatellite / katello-cvmanager

manage Katello content views
GNU General Public License v2.0
49 stars 31 forks source link

cannot load such file -- apipie-bindings #63

Closed abradshaw closed 5 years ago

abradshaw commented 5 years ago

Fresh install of cvmanager on 6.4.1

[root@sat6 katello-cvmanager]# ./cvmanager clean
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- apipie-bindings (LoadError)
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from ./cvmanager:20:in `<main>'
jgkootstra commented 5 years ago

cvmanager breaks with error like @abradshaw. Got it after an update from RH Satellite 6.4.3 to RH Satellite 6.5.0

pcfe commented 5 years ago

like @jgkootstra I get the error after upgrading from 6.4 to 6.5 under 6.4 (originally installed as 6.2,m upgraded during it's life) I would not get the error

FWIW;

17:23:06 [root@satellite katello-cvmanager]# rpm -qa tfm-rubygem-apipie*
tfm-rubygem-apipie-rails-0.5.14-1.el7sat.noarch
tfm-rubygem-apipie-bindings-0.2.2-2.el7sat.noarch
tfm-rubygem-apipie-params-0.0.5-5.el7sat.noarch
abradshaw commented 5 years ago

this seems to work

# tfm-ruby ./cvmanager clean

evgeni commented 5 years ago

Yeah, Satellite does not ship with apipie-bindings for the non-SCL Ruby. Use either tfm-ruby or install apipie-bindings yourself.