Init the rails environment