Changed the rake task to use rake's own sh command, instead of
Kernel.system

Hopefully this way it will work better with other tasks and return a
valid status code
Merge pull request #1 from iainbeeston/use_rake_sh_not_system

Changed the rake task to use rake's own sh command, instead of Kernel.system