Correct exclusions and put RUBYGEMS_VERSION limited env setting first in the list