Require active_support before core_ext 

Otherwise generate will fail on some systems See rails/rails#14664