Remove trailing whitespace.
Ignore any *.gem files.