aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/ruby_version_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/ruby_version_check.rb')
-rw-r--r--railties/lib/rails/ruby_version_check.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/ruby_version_check.rb b/railties/lib/rails/ruby_version_check.rb
index edfe5cb786..aea3d2339c 100644
--- a/railties/lib/rails/ruby_version_check.rb
+++ b/railties/lib/rails/ruby_version_check.rb
@@ -1,13 +1,13 @@
-if RUBY_VERSION < '2.1.0'
+if RUBY_VERSION < '2.2.0'
desc = defined?(RUBY_DESCRIPTION) ? RUBY_DESCRIPTION : "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE})"
abort <<-end_message
- Rails 5 requires to run on Ruby 2.1 or newer.
+ Rails 5 requires to run on Ruby 2.2.0 or newer.
You're running
#{desc}
- Please upgrade to Ruby 2.1.0 or newer to continue.
+ Please upgrade to Ruby 2.2.0 or newer to continue.
end_message
end