LoadError: cannot load such file -- bundler_ext

Hello
I'm novice in ruby and i can't figure out the problem:

I try to install foreman + unicorn + puppet + nginx

RAILS_ENV=production bundle exec rake db:migrate
rake aborted!
LoadError: cannot load such file – bundler_ext
/usr/share/foreman/config/application.rb:10:in require&#39; /usr/share/foreman/config/application.rb:10:in<top (required)>'
/usr/share/foreman/Rakefile:1:in require&#39; /usr/share/foreman/Rakefile:1:in<top (required)>'
(See full trace by running task with --trace)

OS: centos 6.5
rpm -qa | grep bundler
ruby193-rubygem-bundler_ext-0.3.0-3.el6.noarch
ruby193-rubygem-bundler-1.1.4-3.el6.centos.alt.noarch

rpm -qa | grep foreman
foreman-release-1.4.2-1.el6.noarch
foreman-1.4.2-1.el6.noarch
foreman-assets-1.4.2-1.el6.noarch
foreman-mysql2-1.4.2-1.el6.noarch
foreman-proxy-1.4.2-1.el6.noarch

pwd: /usr/share/foreman

bundle install :
Your bundle is complete!
It was installed into ./vendor

Hello,

do you use installation from our CentOS 6 repository, or is this
installation from source?

If the former, than note we do use software collections. Visit

https://www.softwarecollections.org/en/

to find out more. You do not want to use "bundle install" in that
case.

If this is installation from source, please follow our manual how to set
things up.

··· On Wed, Apr 09, 2014 at 11:56:05AM -0700, vadimv Vatlin wrote: > Hello > pwd: /usr/share/foreman > > bundle install : > Your bundle is complete! > It was installed into ./vendor


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman

To add to that, don't move Gemfile.in to Gemfile, it must be called
Gemfile.in (as provided the package).

To migrate the database, you can use "foreman-rake db:migrate" which
sets up the whole environment you need. No need to use bundle commands.

··· On 09/04/14 21:35, Lukas Zapletal wrote: > On Wed, Apr 09, 2014 at 11:56:05AM -0700, vadimv Vatlin wrote: >> Hello >> pwd: /usr/share/foreman >> >> bundle install : >> Your bundle is complete! >> It was installed into ./vendor > > Hello, > > do you use installation from our CentOS 6 repository, or is this > installation from source? > > If the former, than note we do use software collections. Visit > > https://www.softwarecollections.org/en/ > > to find out more. You do _not_ want to use "bundle install" in that > case.


Dominic Cleal
Red Hat Engineering