added a hook to puma LWRP to pickup the rails environment