reset .gitmodules on re-runs
Uninstall the gems just before the rake task is run
Need to delete xml-simple gem & ensure access to build folders