Bugzilla – Full Text Bug Listing |
Summary: | ruby2.6-rubygem-bundler conflicts with ruby2.6 | ||
---|---|---|---|
Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Markos Chandras <mchandras> |
Component: | Ruby | Assignee: | Marcus Rückert <mrueckert> |
Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
Severity: | Normal | ||
Priority: | P5 - None | CC: | ammartinez, ruby-devel |
Version: | Current | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Other | ||
Whiteboard: | |||
Found By: | --- | Services Priority: | |
Business Priority: | Blocker: | --- | |
Marketing QA Status: | --- | IT Deployment: | --- |
Description
Markos Chandras
2019-02-28 11:23:00 UTC
Why do you want to install ruby2.6-rubygem-bundler? Isn't bundle installed already in Ruby.6 (at least I have bundle and I only have Ruby 2.6 installed)? If that is the case, I would propose to just get rid of ruby2.6-rubygem-bundler and indicate in the Ruby spec that it provides bundle (if it is not done already). The only thing I needed to get bundle work was a link that Ruby 2.6 is "forgetting": sudo ln -s /usr/bin/bundle.ruby2.6 /usr/bin/bundle (In reply to Ana María Martínez Gómez from comment #1) > Why do you want to install ruby2.6-rubygem-bundler? Isn't bundle installed > already in Ruby.6 (at least I have bundle and I only have Ruby 2.6 > installed)? If that is the case, I would propose to just get rid of > ruby2.6-rubygem-bundler and indicate in the Ruby spec that it provides > bundle (if it is not done already). > > The only thing I needed to get bundle work was a link that Ruby 2.6 is > "forgetting": > > sudo ln -s /usr/bin/bundle.ruby2.6 /usr/bin/bundle Well our current tooling needs the 'bundler' executable and this is only provided by the ruby2.6-rubygem-bundler ~$ cnf bundler The program 'bundler' can be found in the following package: * ruby2.6-rubygem-bundler [ path: /usr/bin/bundler, repository: zypp (repo-oss) ] Ruby2.6 provides this ~$ rpm -ql ruby2.6|grep /usr/bin/bundler /usr/bin/bundler.ruby2.6 so if you say both are the same (sorry I do not understand ruby very well) then I am guessing a symlink for bundler is missing? both bugs are fixed with the submission that is pending in staging H see SR#679514 `/usr/bin/bundler.ruby2.6` is the bundle executable, but the link is missing, so `sudo ln -s /usr/bin/bundle.ruby2.6 /usr/bin/bundle` fixes your problem without having to install ruby2.6-rubygem-bundler :) (this should be fixed though) Apart from SQ#679514, I think we should drop ruby2.6-rubygem-bundler no we should not. we have all those binaries in update-alternatives that you can install newer versions of the library in parallel. e.g. for bundler there is already version 2.0.0 out. |