未验证 提交 dc8a66aa 编写于 作者: G Guillermo Iguaran 提交者: GitHub

Merge pull request #32649 from rails/universal-ruby-version

Create a .ruby-version compatible with MRI/JRuby by default
<%= RUBY_VERSION -%>
<%= "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}" -%>
......@@ -851,7 +851,7 @@ def test_inclusion_of_ruby_version
assert_match(/ruby '#{RUBY_VERSION}'/, content)
end
assert_file ".ruby-version" do |content|
assert_match(/#{RUBY_VERSION}/, content)
assert_match(/#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}/, content)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册