File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
lib/rails/generators/rails/app/templates Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 1
1
source "https://rubygems.org"
2
2
3
- ruby <%= "\"#{gem_ruby_version}\"" -%>
4
-
5
3
<% gemfile_entries.each do |gemfile_entry| -%>
6
4
<%= gemfile_entry %>
7
5
<% end -%>
Original file line number Diff line number Diff line change @@ -1010,9 +1010,6 @@ def test_inclusion_of_ruby_version
1010
1010
1011
1011
ruby_version = "#{ Gem ::Version . new ( Gem ::VERSION ) >= Gem ::Version . new ( "3.3.13" ) ? Gem . ruby_version : RUBY_VERSION } "
1012
1012
1013
- assert_file "Gemfile" do |content |
1014
- assert_match ( "ruby \" #{ ruby_version } \" " , content )
1015
- end
1016
1013
assert_file ".devcontainer/Dockerfile" do |content |
1017
1014
minor_ruby_version = ruby_version . match ( /^\d +\. \d +/ ) . to_s
1018
1015
assert_match ( /ARG RUBY_VERSION=#{ minor_ruby_version } $/ , content )
You can’t perform that action at this time.
0 commit comments