Updated rake deprecated task and gitignore