Skip to content

Commit

Permalink
Continue to support Ruby < 3
Browse files Browse the repository at this point in the history
Rubygems has dropped support for Ruby 2.6 and 2.7 in version 3.5.0.
https://github.com/rubygems/rubygems/releases/tag/v3.5.0
  • Loading branch information
rubys committed Jan 25, 2024
1 parent 976b99c commit 87646b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/templates/Dockerfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ARG <%= base_args.map {|key, value| "#{key}=#{value.inspect}"}.join(" \\\n ")
ENV <%= base_env.join(" \\\n ") %>

# Update gems and bundler
RUN gem update --system --no-document && \
RUN gem update --system <% if RUBY_VERSION.start_with? '2' %><3.4.22 <% end %>--no-document && \
gem install -N <%= base_gems.join(" ") %>
<% unless base_packages.empty? -%>
Expand Down

0 comments on commit 87646b4

Please sign in to comment.