Skip to content
Snippets Groups Projects
Commit af79eb0d57fb authored by Stan Hu's avatar Stan Hu
Browse files

Force ffi gem to use Ruby platform gem

ffi v1.17.0 started shipping precompiled native gems for x86 and
aarch64 Linux. However, these precompiled gems don't include
the Omnibus library path (`/opt/gitlab/embedded/lib`) as part
of the default `LD_LIBRARY_PATH`, so libraries such as `libarchive`
can't be loaded from Omnibus.

Bundler allows us to ignore the precompiled gems by using
`force_ruby_platform` in the `Gemfile`, so use this feature to
effectively restore the behavior in previous ffi gem versions.

Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8590

Changelog: fixed
parent 9e444ffe83b1
No related branches found
No related tags found
1 merge request!145Merge upstream Omnibus GitLab into Omnibus Heptapod
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment