complaints about :rubygems because no HTTPS, so added HTTPS
Fixed a bug that was causing templating to fail on file systems with spaces in their names.