Temporarily remove `ruby` from Gemfile

See 707b5cb606 for more details.
This commit is contained in:
Rafael Mendonça França 2024-02-14 21:53:52 +00:00
parent c90a8701e5
commit 75d5308f81
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
2 changed files with 0 additions and 5 deletions

View File

@ -1,7 +1,5 @@
source "https://rubygems.org"
ruby <%= "\"#{gem_ruby_version}\"" -%>
<% gemfile_entries.each do |gemfile_entry| -%>
<%= gemfile_entry %>
<% end -%>

View File

@ -1010,9 +1010,6 @@ class AppGeneratorTest < Rails::Generators::TestCase
ruby_version = "#{Gem::Version.new(Gem::VERSION) >= Gem::Version.new("3.3.13") ? Gem.ruby_version : RUBY_VERSION}"
assert_file "Gemfile" do |content|
assert_match("ruby \"#{ruby_version}\"", content)
end
assert_file ".devcontainer/Dockerfile" do |content|
minor_ruby_version = ruby_version.match(/^\d+\.\d+/).to_s
assert_match(/ARG RUBY_VERSION=#{minor_ruby_version}$/, content)