Create a .ruby-version compatible with MRI/JRuby by default
This commit is contained in:
parent
d26f48a574
commit
2bf11187ee
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user