Fix qualifier parse for versions in ruby.