Add a rake site:generate command and use Ruby instead of a subprocess.