Fix issue with require ActiveSupport

related to https://github.com/rails/rails/pull/12861