Rewrite torquebox build script as a rake task