Rake task was missing the environment