Create a .ruby-version compatible with MRI/JRuby by default

This commit is contained in:
Guillermo Iguaran 2018-04-19 16:13:41 -05:00
parent d26f48a574
commit 2bf11187ee
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
<%= RUBY_VERSION -%> <%= "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}" -%>

@ -851,7 +851,7 @@ def test_inclusion_of_ruby_version
assert_match(/ruby '#{RUBY_VERSION}'/, content) assert_match(/ruby '#{RUBY_VERSION}'/, content)
end end
assert_file ".ruby-version" do |content| assert_file ".ruby-version" do |content|
assert_match(/#{RUBY_VERSION}/, content) assert_match(/#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}/, content)
end end
end end