Skip to content

Commit 44f9266

Browse files
takaokoujiclaude
andcommitted
Fix bundler version for Ruby 2.7 compatibility
Ruby 2.7 requires bundler < 2.5. Install bundler 2.4.22 specifically to avoid compatibility issues. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 74294a5 commit 44f9266

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile.ruby2.7

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ WORKDIR /app
1515
COPY Gemfile jsonapi-resources.gemspec ./
1616
COPY lib/jsonapi/resources/version.rb ./lib/jsonapi/resources/
1717

18-
# Install bundler
19-
RUN gem install bundler
18+
# Install bundler (Ruby 2.7 requires bundler < 2.5)
19+
RUN gem install bundler -v 2.4.22
2020

2121
# Note: bundle install will happen at runtime with specific RAILS_VERSION
2222
# This allows testing multiple Rails versions without rebuilding the image

0 commit comments

Comments
 (0)