Fix compatibility for Rails 2.3

This commit is contained in:
David Cuddeback 2011-07-29 12:01:40 -07:00
parent 11c2cbc950
commit 14c3c13699

View File

@ -5,5 +5,5 @@ module Jasmine
end
end
require 'jasmine/headless/railtie' if defined?(Rails)
require 'jasmine/headless/railtie' if defined?(Rails) && Rails::VERSION::MAJOR >= 3