Here's a version of andy edwards' Dockerfile which applies my
workaround:

---
FROM ubuntu:trusty
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -y install  ruby2.0=2.0.0.484-1ubuntu2 
libruby2.0=2.0.0.484-1ubuntu2 libffi-dev  ruby2.0-dev build-essential
RUN ruby2.0 -S gem install psych --version 2.0.17
RUN apt-get -y install ruby2.0 libruby2.0
RUN ruby2.0 -r yaml -r rubygems/safe_yaml -S gem2.0 install rubygems-update
---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1777174

Title:
  2.0.0.484-1ubuntu2.10 triggers uninitialized constant Gem::SafeYAML on
  calling gem2.0 install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby2.0/+bug/1777174/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to