Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,13 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
# verify we have no "ruby" packages installed
if dpkg -l | grep -i ruby; then exit 1; fi; \
[ "$(command -v ruby)" = '/usr/local/bin/ruby' ]; \
# Install latest bundler in addition to the one that comes with ruby
gem install bundler -v 4.0.11; \
# Disable system libffi for `ffi` gem because it currently doesn't work with Debian Bookworm's FFI
# See https://github.com/ffi/ffi/issues/1036
bundle config build.ffi --disable-system-libffi; \
# rough smoke test
ruby --version; \
gem --version; \
bundle --version
bundle --version; \
gem list bundler;
Loading