fly-apps / dockerfile-rails

Provides a Rails generator to produce Dockerfiles and related files.
MIT License
474 stars 38 forks source link

Add option to compile all gems #98

Closed Antsiscool closed 4 months ago

Antsiscool commented 4 months ago

The pre-compiled version of nokogiri for ARM requires a newer version of glibc than the ruby docker images come with. This can be worked around by not using the pre-compiled versions and instead compiling all gems.

This can be done with the bundle configuration bundle config set force_ruby_platform true

rubys commented 4 months ago

LGTM. I thought I had invited you as a collaborator previously, but apparently I invited antiscool (lowercase). I've sent a new invite. Feel free to merge this change.

Antsiscool commented 4 months ago

@rubys Thanks. I have just moved the documentation in the README from the features section to the configuration section. (It feels more like configuration than a feature).

I will merge it after the tests pass.