Fixed after hooks for rails servers