diff options
Diffstat (limited to 'railties/lib/rails/ruby_version_check.rb')
-rw-r--r-- | railties/lib/rails/ruby_version_check.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/railties/lib/rails/ruby_version_check.rb b/railties/lib/rails/ruby_version_check.rb index 62d7804bf3..3b37c41c29 100644 --- a/railties/lib/rails/ruby_version_check.rb +++ b/railties/lib/rails/ruby_version_check.rb @@ -7,4 +7,10 @@ if ruby_release < min_release You're running #{ruby_release}; please upgrade to continue. end_message +elsif RUBY_VERSION == '1.9.1' + abort <<-EOS + + Rails 3 does not work with Ruby 1.9.1. Please upgrade to 1.9.2. + + EOS end |