[katello-devel] Help with bundler issue

Lukas Zapletal lzap at redhat.com
Mon Oct 29 19:06:35 UTC 2012


Strange, it looks like the foreman_api gem needs to be installed. Than
it works and bundler creates a profile without foreman group.

But I don't get it - it does not make sense. I would expect --without
option NOT to require it. At least this works on my laptop in the rbenv
environment.

Ok at least we have a workaround for headpin nightly: please install
rubygem-foreman_api before running configure until I find solution.

I think I am giving up for today.

LZ

On Mon, Oct 29, 2012 at 06:51:26PM +0100, Lukas Zapletal wrote:
> Hey,
> 
> with my change
> 
> https://github.com/Katello/katello/pull/941
> 
> I have introduced new "foreman" group in the Gemfile:
> 
> group :foreman do
>   gem 'foreman_api', '>= 0.0.7'
> end
> 
> Now, if I do
> 
> bundle install --local --without foreman
> 
> with the latest bundler, it works on my laptop. The very same for
> bundler bundler-1.0.15 which is on RHEL6.
> 
> The issue is in the production mode, it does not work. If you try to run
> the above command, it prints:
> 
> # bundle install --local --without foreman
> Could not find gem 'foreman_api (>= 0.0.7, runtime)' in any of the gem
> sources listed in your Gemfile.
> 
> Meaning it is installing WITH foreman group.
> 
> There must be a snag or something. HELP.
> 
> ps - currently both katello and headping nighlies are NOW working I am
> working on that right now
> 
> -- 
> Later,
> 
>  Lukas "lzap" Zapletal
>  #katello #systemengine
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel

-- 
Later,

 Lukas "lzap" Zapletal
 #katello #systemengine




More information about the katello-devel mailing list