Fix: rake task wasn't being called with current environment.