diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2013-02-09 17:41:07 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2013-02-09 17:41:07 -0700 |
commit | a0380e808d3dbd2462df17f5d3b7fcd8bd812496 (patch) | |
tree | 3f1f294ce29069a34c4861d838b7c8b68126fcb6 /railties | |
parent | 56f51888f1ba5833d0d2a7a89c5c6c4d7d2cd0b6 (diff) | |
download | rails-a0380e808d3dbd2462df17f5d3b7fcd8bd812496.tar.gz rails-a0380e808d3dbd2462df17f5d3b7fcd8bd812496.tar.bz2 rails-a0380e808d3dbd2462df17f5d3b7fcd8bd812496.zip |
Prefer Ruby 2.0; require 1.9.3+
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/ruby_version_check.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/ruby_version_check.rb b/railties/lib/rails/ruby_version_check.rb index 4536fedaa3..3b7f358a5b 100644 --- a/railties/lib/rails/ruby_version_check.rb +++ b/railties/lib/rails/ruby_version_check.rb @@ -2,12 +2,12 @@ if RUBY_VERSION < '1.9.3' desc = defined?(RUBY_DESCRIPTION) ? RUBY_DESCRIPTION : "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE})" abort <<-end_message - Rails 4 requires Ruby 1.9.3+. + Rails 4 prefers to run on Ruby 2.0. You're running #{desc} - Please upgrade to continue. + Please upgrade to Ruby 1.9.3 or newer to continue. end_message end |