Skip to content

Commit

Permalink
Merge pull request #85 from Antsiscool/ruby-2.7-compatibility
Browse files Browse the repository at this point in the history
Remove < when specifying system gem upgrade in Ruby 2.7
  • Loading branch information
rubys authored Feb 3, 2024
2 parents 21235b1 + ba779b9 commit c2503fe
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 <% if RUBY_VERSION.start_with? '2' %><3.4.22 <% end %>--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 c2503fe

Please sign in to comment.