Mailinglist Archive: opensuse-ruby (83 mails)

< Previous Next >
Re: [opensuse-ruby] non-rubyabi-specific gem version dependencies
* 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.


SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB
16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
To unsubscribe, e-mail: opensuse-ruby+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-ruby+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups