Only auto-require railtie when in Rails 3+.