** Description changed: + [ Impact ] + + Users who are used to call 'bundle' are not able to do it installing + just libruby2.7. ruby-bundler was marked as provided by libruby2.7 in + version 2.7.0-5. + + ruby2.7 binary package provides 'bundle2.7' executable which could be + symlinked to 'bundle', however, it would be conceptually wrong to mark + ruby-bundler as provided by libruby2.7 and its binary be shipped in + ruby2.7. Moreover, we would need to handle the case where ruby-bundler + binary package is installed because it also provides 'bundle'. + + The simplest solution here is make libruby2.7 does not provide ruby- + bundler at all, and always force users to install ruby-bundler binary + package. + + + [ Test Case ] + + Try to install libruby2.7 in a Focal system and try to call 'bundle'. + + $ lxc launch ubuntu-daily:focal ruby-does-not-provide-bundler + $ lxc shell ruby-does-not-provide-bundler + # apt install -y libruby2.7 + # bundle + + Command 'bundle' not found, but can be installed with: + + apt install ruby-bundler + + + Since ruby-bundler is provided by libruby2.7 its binary must be already available to the user at this point. + + + [ Regression Potential ] + + This change should not affect users heavily since it was introduced + recently and most of them are not relying on it yet. However, there is a + chance of someone preparing a ruby package/custom script and removing + the dependency on ruby-bundler since it is now provided by libruby2.7, + those packages/scripts will fail during build time or runtime. + + + [ Original description ] + In version 2.7.0-5, libruby2.7 became a provider of a bunch of libraries builtin to the standard library, including ruby-bundler. The issue here is that ruby-bundler binary package ships the library and binary (called 'bundle') and libruby2.7 does not ship the binary just the library files. This bug was reported here in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959393 And it was already fixed in version 2.7.0-7: https://tracker.debian.org/news/1141239/accepted-ruby27-270-7-source- into-unstable/ The solution is to make libruby2.7 stop providing ruby-bundler for now. This fix should be synced into Groovy and SRUed to Focal.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1876912 Title: libruby2.7 provides ruby-bundler library but its binary is missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby2.7/+bug/1876912/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
