Fix rubygems-related things.