require 'resu/engine' if defined?(Rails) && Rails::VERSION::MAJOR == 3