Eliminates appended '?' to redirects that have no query string

Also added .ruby-version and .ruby-gemset to .gitignore