[katello-devel] Bundle install problems should be gone now

Ivan Nečas inecas at redhat.com
Thu Aug 4 06:29:43 UTC 2011


On 08/03/2011 11:59 PM, Lukas Zapletal wrote:
> Hello all,
>
> got some nice news I want to share. I just pushed one commit and tag 
> katello-0.1.56-1 that should improve our build process. The 
> community-famous "bundle install" problem should be solved since we 
> check all the dependencies during the build phase.
Sounds gread
>
> ce59cbc spec - introducing bundle install in %build section
>
> And we found the first issue. We was missing regin rubygem (required 
> by rails3 rubygem) in our Fedora 14 repo. Its already in Fedora 15, 
> but not in Fedora 14. Kudos to Shannon who added it for F15, and now 
> trying to fix it using yum clean, thanks.
>
> We have now new macro in our SPEC file defining all our rubygems and 
> we use it for Require and BuildRequire lines. It's a long line since I 
> don't know how to break lines in a SPEC file ('\' does not work like 
> in Bash). If you have a better idea how to do that, let me know.
>
> Shannon made a good point that we actually do not need all these 
> rubygems as build requires. That's true, but I don't know how to 
> generate Gemfile.lock without having them installed. If there is a way 
> - let's do it. For now I recommend to have it there.
I would think it's not possible, since bundler needs to know what other 
dependencies this rubygems have to generate Gemfile.lock.

-Ivan




More information about the katello-devel mailing list