We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c90e0aa commit b8d24a2Copy full SHA for b8d24a2
railties/lib/rails/ruby_version_check.rb
@@ -1,4 +1,4 @@
1
-if RUBY_VERSION < '2.2.2' && RUBY_ENGINE == 'ruby'
+if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2') && RUBY_ENGINE == 'ruby'
2
desc = defined?(RUBY_DESCRIPTION) ? RUBY_DESCRIPTION : "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE})"
3
abort <<-end_message
4
0 commit comments