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
wrong location.

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

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
or higher?

Thanks for your time!

ProblemType: Bug
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
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: Unity
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)
PackageArchitecture: all
SourcePackage: rubygems-integration
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: rubygems-integration (Ubuntu)
     Importance: Undecided
         Status: New

** 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

Reply via email to