Why do we need these two?

Could we maybe only do all this monkey patching if ActiveSupport is not already present? In most cases Oat will be used along with Rails (I know this was copied from an older version of Rails. I think there should only be one version of this functionality loaded)