Public bug reported:
I have replicated the problem on Ubuntu 16.04, Ubuntu 12.04 and in
Docker environment and in few different ruby versions.
It appears rubygems-integration package monkeypatches rubygems and
rubygems fails to load `bundle` executable because it's installed in
Steps to reproduce and more details can be found here:
Disabling the monkeypatch via "DEBIAN_DISABLE_RUBYGEMS_INTEGRATION" env
variable fixes the issue.
Downgrade of rubygems to 2.7.4 fixes the issue too.
I'm attaching a Dockerfile, running the container will crash. Uncomment
the "ENV DEBIAN_DISABLE_RUBYGEMS_INTEGRATION=true" line to fix the
I'm not sure what's the best approach here as I don't understand what
problems the rubygems-integration is solving, but perhaps it's worth
adding another condition to not monkeypatch if rubygems version is 2.7.5
Thanks for your time!
DistroRelease: Ubuntu 16.04
Package: rubygems-integration 1.10
ProcVersionSignature: Ubuntu 4.13.0-32.35~16.04.1-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
Date: Tue Feb 13 16:48:39 2018
InstallationDate: Installed on 2017-10-27 (109 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: rubygems-integration (Ubuntu)
** Tags: amd64 apport-bug ruby xenial
** Attachment added: "Dockerfile showing the bug"
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
rubygems 2.7.5 fails to execute "bundle"
To manage notifications about this bug go to:
ubuntu-bugs mailing list