Mailinglist Archive: opensuse-ruby (30 mails)

< Previous Next >
Re: [opensuse-ruby] Fwd: [obs submit-request 127033] openSUSE:Factory/puppet-dashboard:, declined by coolo
On Tue, 17 Jul 2012 15:40:46 +0200
Sascha Peilicke <saschpe@xxxxxx> wrote:

On 07/17/2012 02:25 PM, James Tan wrote:

But GEMs are also packages.

But shipping bundled gems breaks when they have arch-dependent (speak
C code) in it.

You would either have to build/compile the gem for all architectures
you target (with some %if/%else mumbo-jumbo in the spec file of the
app using/shipping the gem).

You could also do the gem fetching/building in the %post section of
your app's spec file to get around that, but that's also tedious.

Thats not so horrible. Just your product is arch dependent and you
compile bindings during build.
Usually appliance has attached gems and it is installed during deploy
( build phase in OBS ).
< Previous Next >
Follow Ups