add rubygems test, if required version specified