add rails wrapper for production