diff options
Diffstat (limited to 'vendor/plugins/engines/boot.rb')
-rw-r--r-- | vendor/plugins/engines/boot.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vendor/plugins/engines/boot.rb b/vendor/plugins/engines/boot.rb index 50fadc0ed..f80f2b17b 100644 --- a/vendor/plugins/engines/boot.rb +++ b/vendor/plugins/engines/boot.rb @@ -1,8 +1,7 @@ begin require 'rails/version' - unless Rails::VERSION::MAJOR >= 2 || - (Rails::VERSION::MAJOR >= 1 && Rails::VERSION::MINOR >= 99) - raise "This version of the engines plugin requires Rails 2.0 or later!" + unless Rails::VERSION::MAJOR >= 2 && Rails::VERSION::MINOR >= 2 && Rails::VERSION::TINY >= 0 + raise "This version of the engines plugin requires Rails 2.2.0 or later!" end end |