RedHatSatellite/katello-cvmanager

cannot load such file -- apipie-bindings

Closed this issue · 4 comments

Fresh install of cvmanager on 6.4.1

  • Did the git clone
  • Updated the username/password/uri
  • tried to run
[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>'

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

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

this seems to work

# tfm-ruby ./cvmanager clean

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