Adding rake gem to Gemfile.
Refatorando rake file.