Mailinglist Archive: opensuse-ruby (30 mails)

< Previous Next >
Re: [opensuse-ruby] Fwd: [obs submit-request 127033] openSUSE:Factory/puppet-dashboard:, declined by coolo
  • From: Sascha Peilicke <saschpe@xxxxxx>
  • Date: Tue, 17 Jul 2012 16:31:16 +0200
  • Message-id: <>
On 07/17/2012 03:47 PM, Josef Reidinger wrote:
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.
That makes sense, yes.

I was more refering to Ruby applications that already ship bundled gems
as part of their source tree. But I may get something wrong here and
that this isn't the case.

Usually appliance has attached gems and it is installed during deploy
( build phase in OBS ).

Viele Grüße,
Sascha Peilicke

< Previous Next >