Mailinglist Archive: opensuse-bugs (4297 mails)

< Previous Next >
[Bug 1040145] ruby2.3 package installs ruby2.1 as well
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 29 May 2017 10:41:40 +0000
  • Message-id: <>

Jordi Massaguer <jmassaguerpla@xxxxxxxx> changed:

What |Removed |Added
CC| |jmassaguerpla@xxxxxxxx

--- Comment #4 from Jordi Massaguer <jmassaguerpla@xxxxxxxx> ---
(In reply to Marcus Rückert from comment #3)
1. I am pretty sure it is not ruby 2.3 itself that pulls in ruby 2.1

my first guess is that it is for the gem2rpm requires of ruby-common

so you could try "zypper in ruby2.3 ruby2.3-rubygem-gem2rpm" in your
dockerfile and see if that fixes the issue.

2. /usr/bin/ruby will *always* be 2.1 on Leap 42.x. until we make sure all
shebang lines for ruby scripts point to ruby.ruby2.1, we want to keep the
/usr/bin/ruby version stable. That's why we dont use update-alternatives

There is no ruby2.3-rubygem-gem2rpm in

I think that is what is causing the issue. IIRC rubygem-common requires
rubygem-gem2rpm but this can only be met by choosing ruby2.1-rubgem-gem2rpm,
which requires ruby2.1

You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >