Mailinglist Archive: opensuse-ruby (83 mails)

< Previous Next >
Re: [opensuse-ruby] non-rubyabi-specific gem version dependencies
  • From: Adam Spiers <aspiers@xxxxxxxx>
  • Date: Fri, 30 Nov 2012 10:54:39 +0000
  • Message-id: <20121130105439.GI22090@pacific.linksys.moosehall>
Klaus Kaempf (kkaempf@xxxxxxx) wrote:
* Adam Spiers <aspiers@xxxxxxxx> [Nov 21. 2012 18:00]:
Josef Reidinger (jreidinger@xxxxxxx) wrote:

Because you cannot mix gems from 1.8 and 1.9. So if you have one OBS
that builds againts 1.8 and another repo that builds againsts 1.9, then
there is potential problem ,that solver can choose mixture of gems,
that won't work.

I don't understand that at all.


rubygems carry the Ruby ABI version in their filelist.

A rubygem built againts 1.8 provides these files:

While a rubygem built against 1.9 provides

So while you could install a non-matching rubygem, its files wouldn't be
found during runtime. Encoding the Ruby ABI version into the
requires/provides prevents this.

Agreed - but in the text from my mail you snipped, I point out that I
am not proposing removing the ABI version from the automatic
requires/provides, so this should not be an issue. Please see the
rest of the thread, in particular:
To unsubscribe, e-mail: opensuse-ruby+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-ruby+owner@xxxxxxxxxxxx

< Previous Next >