make rake task only available in test and development

due to errors on heroic