Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack level too deep at xmldecl encoding method #84

Open
soyellupi opened this issue Dec 30, 2021 · 3 comments
Open

Stack level too deep at xmldecl encoding method #84

soyellupi opened this issue Dec 30, 2021 · 3 comments

Comments

@soyellupi
Copy link

Hi there!
I just update my Mac OS X to Monterey and made a fresh install of my project in the development environment.
I'm using rexml as a dependency for rubocop and I've installed ruby 2.6.6 using asdf-vm.

When I try to start a rails console, I get the following error:

/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmltokens.rb:61: warning: already initialized constant REXML::XMLTokens::NAME_START_CHAR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb:61: warning: previous definition of NAME_START_CHAR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmltokens.rb:62: warning: already initialized constant REXML::XMLTokens::NAME_CHAR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb:62: warning: previous definition of NAME_CHAR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmltokens.rb:63: warning: already initialized constant REXML::XMLTokens::NAMECHAR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb:63: warning: previous definition of NAMECHAR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmltokens.rb:73: warning: already initialized constant REXML::XMLTokens::NCNAME_STR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb:73: warning: previous definition of NCNAME_STR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmltokens.rb:74: warning: already initialized constant REXML::XMLTokens::NAME_STR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb:74: warning: previous definition of NAME_STR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmltokens.rb:76: warning: already initialized constant REXML::XMLTokens::NAME
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb:76: warning: previous definition of NAME was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmltokens.rb:77: warning: already initialized constant REXML::XMLTokens::NMTOKEN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb:77: warning: previous definition of NMTOKEN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmltokens.rb:78: warning: already initialized constant REXML::XMLTokens::NMTOKENS
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb:78: warning: previous definition of NMTOKENS was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmltokens.rb:79: warning: already initialized constant REXML::XMLTokens::REFERENCE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb:79: warning: previous definition of REFERENCE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/namespace.rb:13: warning: already initialized constant REXML::Namespace::NAMESPLIT
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/namespace.rb:13: warning: previous definition of NAMESPLIT was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:9: warning: already initialized constant REXML::Entity::PUBIDCHAR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:9: warning: previous definition of PUBIDCHAR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:10: warning: already initialized constant REXML::Entity::SYSTEMLITERAL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:10: warning: previous definition of SYSTEMLITERAL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:11: warning: already initialized constant REXML::Entity::PUBIDLITERAL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:11: warning: previous definition of PUBIDLITERAL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:12: warning: already initialized constant REXML::Entity::EXTERNALID
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:12: warning: previous definition of EXTERNALID was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:13: warning: already initialized constant REXML::Entity::NDATADECL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:13: warning: previous definition of NDATADECL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:14: warning: already initialized constant REXML::Entity::PEREFERENCE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:14: warning: previous definition of PEREFERENCE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:15: warning: already initialized constant REXML::Entity::ENTITYVALUE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:15: warning: previous definition of ENTITYVALUE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:16: warning: already initialized constant REXML::Entity::PEDEF
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:16: warning: previous definition of PEDEF was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:17: warning: already initialized constant REXML::Entity::ENTITYDEF
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:17: warning: previous definition of ENTITYDEF was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:18: warning: already initialized constant REXML::Entity::PEDECL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:18: warning: previous definition of PEDECL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:19: warning: already initialized constant REXML::Entity::GEDECL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:19: warning: previous definition of GEDECL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:20: warning: already initialized constant REXML::Entity::ENTITYDECL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:20: warning: previous definition of ENTITYDECL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:125: warning: already initialized constant REXML::Entity::PEREFERENCE_RE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:125: warning: previous definition of PEREFERENCE_RE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:161: warning: already initialized constant REXML::EntityConst::GT
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:161: warning: previous definition of GT was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:163: warning: already initialized constant REXML::EntityConst::LT
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:163: warning: previous definition of LT was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:165: warning: already initialized constant REXML::EntityConst::AMP
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:165: warning: previous definition of AMP was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:167: warning: already initialized constant REXML::EntityConst::QUOT
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:167: warning: previous definition of QUOT was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/entity.rb:169: warning: already initialized constant REXML::EntityConst::APOS
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/entity.rb:169: warning: previous definition of APOS was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/doctype.rb:15: warning: already initialized constant REXML::DocType::START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/doctype.rb:53: warning: previous definition of START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/doctype.rb:16: warning: already initialized constant REXML::DocType::STOP
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/doctype.rb:54: warning: previous definition of STOP was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/doctype.rb:17: warning: already initialized constant REXML::DocType::SYSTEM
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/doctype.rb:55: warning: previous definition of SYSTEM was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/doctype.rb:18: warning: already initialized constant REXML::DocType::PUBLIC
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/doctype.rb:56: warning: previous definition of PUBLIC was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/doctype.rb:19: warning: already initialized constant REXML::DocType::DEFAULT_ENTITIES
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/doctype.rb:57: warning: previous definition of DEFAULT_ENTITIES was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/text.rb:14: warning: already initialized constant REXML::Text::SPECIALS
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/text.rb:14: warning: previous definition of SPECIALS was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/text.rb:15: warning: already initialized constant REXML::Text::SUBSTITUTES
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/text.rb:15: warning: previous definition of SUBSTITUTES was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/text.rb:17: warning: already initialized constant REXML::Text::SLAICEPS
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/text.rb:17: warning: previous definition of SLAICEPS was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/text.rb:18: warning: already initialized constant REXML::Text::SETUTITSBUS
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/text.rb:18: warning: previous definition of SETUTITSBUS was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/text.rb:23: warning: already initialized constant REXML::Text::NEEDS_A_SECOND_CHECK
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/text.rb:23: warning: previous definition of NEEDS_A_SECOND_CHECK was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/text.rb:24: warning: already initialized constant REXML::Text::NUMERICENTITY
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/text.rb:24: warning: previous definition of NUMERICENTITY was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/text.rb:25: warning: already initialized constant REXML::Text::VALID_CHAR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/text.rb:25: warning: previous definition of VALID_CHAR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/text.rb:33: warning: already initialized constant REXML::Text::VALID_XML_CHARS
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/text.rb:33: warning: previous definition of VALID_XML_CHARS was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/text.rb:214: warning: already initialized constant REXML::Text::REFERENCE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/text.rb:214: warning: previous definition of REFERENCE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/text.rb:368: warning: already initialized constant REXML::Text::EREFERENCE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/text.rb:368: warning: previous definition of EREFERENCE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/attribute.rb:19: warning: already initialized constant REXML::Attribute::PATTERN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/attribute.rb:19: warning: previous definition of PATTERN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/attribute.rb:21: warning: already initialized constant REXML::Attribute::NEEDS_A_SECOND_CHECK
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/attribute.rb:21: warning: previous definition of NEEDS_A_SECOND_CHECK was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/cdata.rb:6: warning: already initialized constant REXML::CData::START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/cdata.rb:6: warning: previous definition of START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/cdata.rb:7: warning: already initialized constant REXML::CData::STOP
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/cdata.rb:7: warning: previous definition of STOP was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/cdata.rb:8: warning: already initialized constant REXML::CData::ILLEGAL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/cdata.rb:8: warning: previous definition of ILLEGAL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/functions.rb:16: warning: already initialized constant REXML::Functions::INTERNAL_METHODS
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/functions.rb:16: warning: previous definition of INTERNAL_METHODS was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb:13: warning: already initialized constant REXML::Parsers::XPathParser::LITERAL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:13: warning: previous definition of LITERAL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb:210: warning: already initialized constant REXML::Parsers::XPathParser::AXIS
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:216: warning: previous definition of AXIS was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb:278: warning: already initialized constant REXML::Parsers::XPathParser::PREFIX_WILDCARD
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:288: warning: previous definition of PREFIX_WILDCARD was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb:279: warning: already initialized constant REXML::Parsers::XPathParser::LOCAL_NAME_WILDCARD
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:289: warning: previous definition of LOCAL_NAME_WILDCARD was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb:280: warning: already initialized constant REXML::Parsers::XPathParser::QNAME
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:290: warning: previous definition of QNAME was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb:281: warning: already initialized constant REXML::Parsers::XPathParser::NODE_TYPE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:291: warning: previous definition of NODE_TYPE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb:282: warning: already initialized constant REXML::Parsers::XPathParser::PI
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:292: warning: previous definition of PI was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb:559: warning: already initialized constant REXML::Parsers::XPathParser::VARIABLE_REFERENCE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:573: warning: previous definition of VARIABLE_REFERENCE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb:560: warning: already initialized constant REXML::Parsers::XPathParser::NUMBER
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:574: warning: previous definition of NUMBER was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/xpathparser.rb:561: warning: already initialized constant REXML::Parsers::XPathParser::NT
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb:575: warning: previous definition of NT was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xpath_parser.rb:48: warning: already initialized constant REXML::XPathParser::LITERAL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xpath_parser.rb:56: warning: previous definition of LITERAL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xpath.rb:12: warning: already initialized constant REXML::XPath::EMPTY_HASH
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xpath.rb:12: warning: previous definition of EMPTY_HASH was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/element.rb:24: warning: already initialized constant REXML::Element::UNDEFINED
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/element.rb:282: warning: previous definition of UNDEFINED was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmldecl.rb:11: warning: already initialized constant REXML::XMLDecl::DEFAULT_VERSION
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb:11: warning: previous definition of DEFAULT_VERSION was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmldecl.rb:12: warning: already initialized constant REXML::XMLDecl::DEFAULT_ENCODING
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb:12: warning: previous definition of DEFAULT_ENCODING was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmldecl.rb:13: warning: already initialized constant REXML::XMLDecl::DEFAULT_STANDALONE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb:13: warning: previous definition of DEFAULT_STANDALONE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmldecl.rb:14: warning: already initialized constant REXML::XMLDecl::START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb:14: warning: previous definition of START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmldecl.rb:15: warning: already initialized constant REXML::XMLDecl::STOP
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb:15: warning: previous definition of STOP was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/comment.rb:9: warning: already initialized constant REXML::Comment::START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/comment.rb:9: warning: previous definition of START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/comment.rb:10: warning: already initialized constant REXML::Comment::STOP
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/comment.rb:10: warning: previous definition of STOP was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/instruction.rb:10: warning: already initialized constant REXML::Instruction::START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/instruction.rb:10: warning: previous definition of START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/instruction.rb:11: warning: already initialized constant REXML::Instruction::STOP
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/instruction.rb:11: warning: previous definition of STOP was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/rexml.rb:25: warning: already initialized constant REXML::COPYRIGHT
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/rexml.rb:30: warning: previous definition of COPYRIGHT was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/rexml.rb:26: warning: already initialized constant REXML::DATE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/rexml.rb:31: warning: previous definition of DATE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/rexml.rb:27: warning: already initialized constant REXML::VERSION
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/rexml.rb:32: warning: previous definition of VERSION was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/rexml.rb:28: warning: already initialized constant REXML::REVISION
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/rexml.rb:33: warning: previous definition of REVISION was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/rexml.rb:30: warning: already initialized constant REXML::Copyright
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/rexml.rb:35: warning: previous definition of Copyright was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/rexml.rb:31: warning: already initialized constant REXML::Version
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/rexml.rb:36: warning: previous definition of Version was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:30: warning: already initialized constant REXML::Parsers::BaseParser::LETTER
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:30: warning: previous definition of LETTER was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:31: warning: already initialized constant REXML::Parsers::BaseParser::DIGIT
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:31: warning: previous definition of DIGIT was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:33: warning: already initialized constant REXML::Parsers::BaseParser::COMBININGCHAR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:33: warning: previous definition of COMBININGCHAR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:34: warning: already initialized constant REXML::Parsers::BaseParser::EXTENDER
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:34: warning: previous definition of EXTENDER was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:36: warning: already initialized constant REXML::Parsers::BaseParser::NCNAME_STR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:36: warning: previous definition of NCNAME_STR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:37: warning: already initialized constant REXML::Parsers::BaseParser::QNAME_STR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:37: warning: previous definition of QNAME_STR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:38: warning: already initialized constant REXML::Parsers::BaseParser::QNAME
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:38: warning: previous definition of QNAME was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:42: warning: already initialized constant REXML::Parsers::BaseParser::UNAME_STR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:42: warning: previous definition of UNAME_STR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:44: warning: already initialized constant REXML::Parsers::BaseParser::NAMECHAR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:44: warning: previous definition of NAMECHAR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:45: warning: already initialized constant REXML::Parsers::BaseParser::NAME
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:45: warning: previous definition of NAME was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:46: warning: already initialized constant REXML::Parsers::BaseParser::NMTOKEN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:46: warning: previous definition of NMTOKEN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:47: warning: already initialized constant REXML::Parsers::BaseParser::NMTOKENS
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:47: warning: previous definition of NMTOKENS was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:48: warning: already initialized constant REXML::Parsers::BaseParser::REFERENCE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:48: warning: previous definition of REFERENCE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:49: warning: already initialized constant REXML::Parsers::BaseParser::REFERENCE_RE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:49: warning: previous definition of REFERENCE_RE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:51: warning: already initialized constant REXML::Parsers::BaseParser::DOCTYPE_START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:51: warning: previous definition of DOCTYPE_START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:52: warning: already initialized constant REXML::Parsers::BaseParser::DOCTYPE_END
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:52: warning: previous definition of DOCTYPE_END was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:54: warning: already initialized constant REXML::Parsers::BaseParser::ATTRIBUTE_PATTERN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:53: warning: previous definition of ATTRIBUTE_PATTERN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:55: warning: already initialized constant REXML::Parsers::BaseParser::COMMENT_START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:54: warning: previous definition of COMMENT_START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:56: warning: already initialized constant REXML::Parsers::BaseParser::COMMENT_PATTERN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:55: warning: previous definition of COMMENT_PATTERN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:57: warning: already initialized constant REXML::Parsers::BaseParser::CDATA_START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:56: warning: previous definition of CDATA_START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:58: warning: already initialized constant REXML::Parsers::BaseParser::CDATA_END
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:57: warning: previous definition of CDATA_END was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:59: warning: already initialized constant REXML::Parsers::BaseParser::CDATA_PATTERN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:58: warning: previous definition of CDATA_PATTERN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:60: warning: already initialized constant REXML::Parsers::BaseParser::XMLDECL_START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:59: warning: previous definition of XMLDECL_START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:61: warning: already initialized constant REXML::Parsers::BaseParser::XMLDECL_PATTERN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:60: warning: previous definition of XMLDECL_PATTERN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:62: warning: already initialized constant REXML::Parsers::BaseParser::INSTRUCTION_START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:61: warning: previous definition of INSTRUCTION_START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:63: warning: already initialized constant REXML::Parsers::BaseParser::INSTRUCTION_PATTERN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:62: warning: previous definition of INSTRUCTION_PATTERN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:64: warning: already initialized constant REXML::Parsers::BaseParser::TAG_MATCH
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:63: warning: previous definition of TAG_MATCH was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:65: warning: already initialized constant REXML::Parsers::BaseParser::CLOSE_MATCH
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:64: warning: previous definition of CLOSE_MATCH was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:67: warning: already initialized constant REXML::Parsers::BaseParser::VERSION
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:66: warning: previous definition of VERSION was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:68: warning: already initialized constant REXML::Parsers::BaseParser::ENCODING
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:67: warning: previous definition of ENCODING was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:69: warning: already initialized constant REXML::Parsers::BaseParser::STANDALONE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:68: warning: previous definition of STANDALONE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:71: warning: already initialized constant REXML::Parsers::BaseParser::ENTITY_START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:70: warning: previous definition of ENTITY_START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:73: warning: already initialized constant REXML::Parsers::BaseParser::ELEMENTDECL_START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:71: warning: previous definition of ELEMENTDECL_START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:74: warning: already initialized constant REXML::Parsers::BaseParser::ELEMENTDECL_PATTERN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:72: warning: previous definition of ELEMENTDECL_PATTERN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:75: warning: already initialized constant REXML::Parsers::BaseParser::SYSTEMENTITY
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:73: warning: previous definition of SYSTEMENTITY was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:76: warning: already initialized constant REXML::Parsers::BaseParser::ENUMERATION
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:74: warning: previous definition of ENUMERATION was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:77: warning: already initialized constant REXML::Parsers::BaseParser::NOTATIONTYPE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:75: warning: previous definition of NOTATIONTYPE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:78: warning: already initialized constant REXML::Parsers::BaseParser::ENUMERATEDTYPE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:76: warning: previous definition of ENUMERATEDTYPE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:79: warning: already initialized constant REXML::Parsers::BaseParser::ATTTYPE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:77: warning: previous definition of ATTTYPE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:80: warning: already initialized constant REXML::Parsers::BaseParser::ATTVALUE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:78: warning: previous definition of ATTVALUE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:81: warning: already initialized constant REXML::Parsers::BaseParser::DEFAULTDECL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:79: warning: previous definition of DEFAULTDECL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:82: warning: already initialized constant REXML::Parsers::BaseParser::ATTDEF
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:80: warning: previous definition of ATTDEF was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:83: warning: already initialized constant REXML::Parsers::BaseParser::ATTDEF_RE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:81: warning: previous definition of ATTDEF_RE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:84: warning: already initialized constant REXML::Parsers::BaseParser::ATTLISTDECL_START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:82: warning: previous definition of ATTLISTDECL_START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:85: warning: already initialized constant REXML::Parsers::BaseParser::ATTLISTDECL_PATTERN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:83: warning: previous definition of ATTLISTDECL_PATTERN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:86: warning: already initialized constant REXML::Parsers::BaseParser::NOTATIONDECL_START
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:101: warning: previous definition of NOTATIONDECL_START was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:90: warning: already initialized constant REXML::Parsers::BaseParser::TEXT_PATTERN
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:85: warning: previous definition of TEXT_PATTERN was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:93: warning: already initialized constant REXML::Parsers::BaseParser::PUBIDCHAR
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:88: warning: previous definition of PUBIDCHAR was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:94: warning: already initialized constant REXML::Parsers::BaseParser::SYSTEMLITERAL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:89: warning: previous definition of SYSTEMLITERAL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:95: warning: already initialized constant REXML::Parsers::BaseParser::PUBIDLITERAL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:90: warning: previous definition of PUBIDLITERAL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:96: warning: already initialized constant REXML::Parsers::BaseParser::EXTERNALID
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:91: warning: previous definition of EXTERNALID was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:97: warning: already initialized constant REXML::Parsers::BaseParser::NDATADECL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:92: warning: previous definition of NDATADECL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:98: warning: already initialized constant REXML::Parsers::BaseParser::PEREFERENCE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:93: warning: previous definition of PEREFERENCE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:99: warning: already initialized constant REXML::Parsers::BaseParser::ENTITYVALUE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:94: warning: previous definition of ENTITYVALUE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:100: warning: already initialized constant REXML::Parsers::BaseParser::PEDEF
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:95: warning: previous definition of PEDEF was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:101: warning: already initialized constant REXML::Parsers::BaseParser::ENTITYDEF
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:96: warning: previous definition of ENTITYDEF was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:102: warning: already initialized constant REXML::Parsers::BaseParser::PEDECL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:97: warning: previous definition of PEDECL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:103: warning: already initialized constant REXML::Parsers::BaseParser::GEDECL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:98: warning: previous definition of GEDECL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:104: warning: already initialized constant REXML::Parsers::BaseParser::ENTITYDECL
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:99: warning: previous definition of ENTITYDECL was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:106: warning: already initialized constant REXML::Parsers::BaseParser::EREFERENCE
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:106: warning: previous definition of EREFERENCE was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/parsers/baseparser.rb:108: warning: already initialized constant REXML::Parsers::BaseParser::DEFAULT_ENTITIES
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb:108: warning: previous definition of DEFAULT_ENTITIES was here
/Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb:77:in `encoding=': stack level too deep (SystemStackError)
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb:81:in `encoding='

...

	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb:81:in `encoding='
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmldecl.rb:77:in `encoding='
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmldecl.rb:32:in `initialize'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmldecl.rb:92:in `new'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/xmldecl.rb:92:in `default'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/document.rb:27:in `<class:Document>'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/document.rb:22:in `<module:REXML>'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rexml/document.rb:16:in `<main>'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.7/lib/active_support/dependencies.rb:324:in `block in require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.7/lib/active_support/dependencies.rb:291:in `load_dependency'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.7/lib/active_support/dependencies.rb:324:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.81.0/lib/rubocop/formatter/junit_formatter.rb:3:in `<main>'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.7/lib/active_support/dependencies.rb:324:in `block in require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.7/lib/active_support/dependencies.rb:291:in `load_dependency'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.7/lib/active_support/dependencies.rb:324:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/rubocop-0.81.0/lib/rubocop.rb:594:in `<main>'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/bundler/runtime.rb:81:in `block (2 levels) in require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/bundler/runtime.rb:76:in `each'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/bundler/runtime.rb:76:in `block in require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/bundler/runtime.rb:65:in `each'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/bundler/runtime.rb:65:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/bundler.rb:114:in `require'
	from /Users/lupi/web/config/application.rb:19:in `<top (required)>'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/spring-2.0.2/lib/spring/application.rb:92:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/spring-2.0.2/lib/spring/application.rb:92:in `preload'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/spring-2.0.2/lib/spring/application.rb:153:in `serve'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /Users/lupi/.asdf/installs/ruby/2.6.6/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'

Is somebody else getting this error? Could you give me guidance to fix it?

Thanks in advance!

@kou
Copy link
Member

kou commented Dec 30, 2021

It seems that you mixed REXML bundled in Ruby 2.6 and REXML installed by gem.
This is the cause of this.

It seems that you use old RuboCop. Could you use try the latest RuboCop?

@niborg
Copy link

niborg commented Jan 19, 2022

I am also running into this issue on Ruby 2.6.8. I don't have a full understanding, but for me it looks like there is a conflict between two local versions of the rexml gem. My situation:

  • Running rails c ran into the same issue described by @soyellupi
  • After deleting gem 'rexml', '>= 3.2.5', the rails c command would work. However, running REXML::Version in the console yields '3.1.9.1'. (???)
  • Running gem list | grep rexml yields rexml (3.2.5, default: 3.1.9.1). Because version 3.1.9.1 has somehow been set as default, rails c appears to use that version over the correct 3.2.5 version and commands like gem uninstall rexml -v 3.1.9.1 don't work.

@kou
Copy link
Member

kou commented Jan 19, 2022

You can find a code that require old REXML (installed as a default gem) by adding put caller into the top of "#{RbConfig::CONFIG["rubylibdir"]}/rexml/rexml.rb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants