Klaus Kaempf (kkaempf@suse.de) wrote:
* Adam Spiers
[Nov 21. 2012 18:00]: Josef Reidinger (jreidinger@suse.cz) 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.
Adam,
rubygems carry the Ruby ABI version in their filelist.
A rubygem built againts 1.8 provides these files: /usr/lib{64}/ruby/gems/1.8.7/gems/...
While a rubygem built against 1.9 provides /usr/lib{64}/ruby/gems/1.9.1/gems/...
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: http://lists.opensuse.org/opensuse-ruby/2012-11/msg00074.html -- To unsubscribe, e-mail: opensuse-ruby+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ruby+owner@opensuse.org