fixed travis rake error by loading environment