Load up Rails environment before running the rake task.