Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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, thanks,

Nicholas

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

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