-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with installing nokogiri #55
Comments
Since |
moby/moby#18578 is related |
With more recent Docker, Ruby, Kernel, etc, this appears to be fixed. 👍 $ docker info
...
Server Version: 1.11.2
Storage Driver: overlay
Backing Filesystem: extfs
...
Kernel Version: 4.6.5-gentoo
Operating System: Gentoo/Linux
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 30.88 GiB
...
$ docker run -it --rm ruby gem install nokogiri
Fetching: mini_portile2-2.1.0.gem (100%)
Successfully installed mini_portile2-2.1.0
Fetching: pkg-config-1.1.7.gem (100%)
Successfully installed pkg-config-1.1.7
Fetching: nokogiri-1.6.8.gem (100%)
Building native extensions. This could take a while...
Successfully installed nokogiri-1.6.8
3 gems installed |
Moved header and footer to includes Closes docker-library#68 and docker-library#55 See merge request techrangers/website!44
As described in sparklemotion/nokogiri#1370 there seems to be an issue with the rubygems upgrade to 2.5.0 and installing nokogiri with the overlay driver.
As it seems more a docker issue I would recommend to downgrade to rubygems 2.4.8 for the time being as this will probably affect quite a lot build setups.
The quick fix we are currently doing is run
gem update --system '2.4.8'
in our Dockerfile.The text was updated successfully, but these errors were encountered: