diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-03 14:33:55 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-03 14:33:55 -0700 |
commit | 95369a5921a87988fbcb1b1d66a68255f3cf8924 (patch) | |
tree | dc41a5f829f3d3f5cd7db18afd1225c1df75cab7 /railties/lib | |
parent | 288885f9ebf07a12ce64bc3b4a73e9dbc27eeb40 (diff) | |
parent | 36261c816592ab34c41dad82d1e6396d979e0672 (diff) | |
download | rails-95369a5921a87988fbcb1b1d66a68255f3cf8924.tar.gz rails-95369a5921a87988fbcb1b1d66a68255f3cf8924.tar.bz2 rails-95369a5921a87988fbcb1b1d66a68255f3cf8924.zip |
Merge pull request #7836 from lihanli/error-msg-update
Update supported ruby versions error message in ruby_version_check.rb
Diffstat (limited to 'railties/lib')
-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 4d57c5973c..d6c7716c0d 100644 --- a/railties/lib/rails/ruby_version_check.rb +++ b/railties/lib/rails/ruby_version_check.rb @@ -2,7 +2,7 @@ if RUBY_VERSION < '1.8.7' desc = defined?(RUBY_DESCRIPTION) ? RUBY_DESCRIPTION : "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE})" abort <<-end_message - Rails 3 requires Ruby 1.8.7 or 1.9.2. + Rails 3 requires Ruby 1.8.7 or >= 1.9.2. You're running #{desc} @@ -14,7 +14,7 @@ elsif RUBY_VERSION > '1.9' and RUBY_VERSION < '1.9.2' $stderr.puts <<-end_message Rails 3 doesn't officially support Ruby 1.9.1 since recent stable - releases have segfaulted the test suite. Please upgrade to Ruby 1.9.2. + releases have segfaulted the test suite. Please upgrade to Ruby 1.9.2 or later. You're running #{RUBY_DESCRIPTION} |