fixed typo created when removing environment reference in rake tasks