Am 14.09.2016 um 09:21 schrieb Andreas Schwab:
On Sep 13 2016, Till Dörges
wrote:
I'm trying to get a rubygem to build against a specific ruby version (ruby20) - even if the native ruby version of the distribution is different:
https://build.opensuse.org/package/show/home:tdoerges:ruby20/rubygem-wxruby
A package with ruby20 is present in the project and builds fine for all distributions (https://build.opensuse.org/package/show/home:tdoerges:ruby20/ruby20).
However, when trying to build the rubygem for openSUSE 13.2, ruby 2.1 (native to 13.2) is always preferred over ruby20. ruby20 will be installed but ignored otherwise.
I think you need to call the version specific ruby programs, like rake.ruby2.0.
Is there any way to ban ruby 2.1 from being installed for the build? Regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de Tel. +49 - 40 - 244 2407 - 14 Fax +49 - 40 - 244 2407 - 24 PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 Wir sind auf der it-sa: 18.-20.10.2016 http://www.it-sa.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org