3

warning: already initialized constant JSON::VERSION

I just upgraded from OpenStudio 2.6.0 to 2.8.0 and received the following warning messages:

:/ruby/2.2.0/gems/json_pure-2.2.0/lib/json/version.rb:4: warning: already initialized constant JSON::VERSION :/ruby/2.2.0/json/version.rb:3: warning: previous definition of VERSION was here :/ruby/2.2.0/gems/json_pure-2.2.0/lib/json/version.rb:5: warning: already initialized constant JSON::VERSION_ARRAY :/ruby/2.2.0/json/version.rb:4: warning: previous definition of VERSION_ARRAY was here :/ruby/2.2.0/gems/json_pure-2.2.0/lib/json/version.rb:6: warning: already initialized constant JSON::VERSION_MAJOR :/ruby/2.2.0/json/version.rb:5: warning: previous definition of VERSION_MAJOR was here :/ruby/2.2.0/gems/json_pure-2.2.0/lib/json/version.rb:7: warning: already initialized constant JSON::VERSION_MINOR :/ruby/2.2.0/json/version.rb:6: warning: previous definition of VERSION_MINOR was here :/ruby/2.2.0/gems/json_pure-2.2.0/lib/json/version.rb:8: warning: already initialized constant JSON::VERSION_BUILD :/ruby/2.2.0/json/version.rb:7: warning: previous definition of VERSION_BUILD was here :/ruby/2.2.0/gems/json_pure-2.2.0/lib/json/common.rb:100: warning: already initialized constant JSON::NaN :/ruby/2.2.0/json/common.rb:99: warning: previous definition of NaN was here :/ruby/2.2.0/gems/json_pure-2.2.0/lib/json/common.rb:102: warning: already initialized constant JSON::Infinity :/ruby/2.2.0/json/common.rb:101: warning: previous definition of Infinity was here :/ruby/2.2.0/gems/json_pure-2.2.0/lib/json/common.rb:104: warning: already initialized constant JSON::MinusInfinity :/ruby/2.2.0/json/common.rb:103: warning: previous definition of MinusInfinity was here :/ruby/2.2.0/gems/json_pure-2.2.0/lib/json/common.rb:129: warning: already initialized constant JSON::UnparserError :/ruby/2.2.0/json/common.rb:128: warning: previous definition of UnparserError was here

Does anyone know what the problem is and the solution to this problem?

Many thanks,

Nicholas

nmw's avatar
61
nmw
asked 2019-05-22 04:41:52 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-01-20 11:37:27 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

We have seen this, our current understanding is that the warnings are benign. I would suggest ignoring them for now, if you find that they are causing an issue please add more detail in the github ticket

macumber's avatar
12k
macumber
answered 2019-05-22 10:13:31 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments