added rubygems validation