Skip to content

Commit

Permalink
Temporarily remove ruby from Gemfile
Browse files Browse the repository at this point in the history
See 707b5cb for more details.
  • Loading branch information
rafaelfranca committed Feb 14, 2024
1 parent c90a870 commit 75d5308
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions railties/lib/rails/generators/rails/app/templates/Gemfile.tt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
source "https://rubygems.org"

ruby <%= "\"#{gem_ruby_version}\"" -%>

<% gemfile_entries.each do |gemfile_entry| -%>
<%= gemfile_entry %>
<% end -%>
Expand Down
3 changes: 0 additions & 3 deletions railties/test/generators/app_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1010,9 +1010,6 @@ def test_inclusion_of_ruby_version

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)
Expand Down

0 comments on commit 75d5308

Please sign in to comment.