diff --git a/lib/jasmine-headless-webkit.rb b/lib/jasmine-headless-webkit.rb index 1813185..d5b1fb7 100644 --- a/lib/jasmine-headless-webkit.rb +++ b/lib/jasmine-headless-webkit.rb @@ -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