Skip to content
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

Closed
tobstarr opened this issue Nov 12, 2015 · 4 comments
Closed

Issue with installing nokogiri #55

tobstarr opened this issue Nov 12, 2015 · 4 comments

Comments

@tobstarr
Copy link

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.

@wyaeld
Copy link

wyaeld commented Nov 19, 2015

@yosifkit would you consider reverting 74ee8ae until this is resolved

@tianon
Copy link
Member

tianon commented Jan 4, 2016

Since nokogiri is the only gem we've seen actually affected, I'm not keen on downgrading rubygems just for the overlayfs+nokogiri compilation combination. It sounds like the bug is probably something in rubygems (or perhaps in the way rubygems interacts with the nokogiri build bits), and some brave soul needs to do a bisect from rubygems 2.4.8 to 2.5.0 and figure out what happened so this can either get fixed in rubygems or be narrowed down to something in nokogiri specifically for sure so it can be fixed properly.

@wyaeld
Copy link

wyaeld commented Jan 4, 2016

moby/moby#18578 is related

@tianon
Copy link
Member

tianon commented Aug 22, 2016

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

@tianon tianon closed this as completed Aug 22, 2016
chrissolanilla pushed a commit to chrissolanilla/CSolanillaBio that referenced this issue May 16, 2024
Moved header and footer to includes

Closes docker-library#68 and docker-library#55

See merge request techrangers/website!44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants