Created a deprecation module to fallback to the regular warning when not using rails