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

Running Openstudio measure tests in the command line with Ruby

I am attempting to run the test file AssignSpaceTypeToBuilding_Test from the command line to make sure that Ruby and Openstudio are working properly on my machine. My end goal is to automate running several measures from the command line. However, whenever I run even the first line of test file code:

require 'openstudio'

The following cryptic error appears in the the command window:

DL is deprecated, please use Fiddle C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:44:in 'require': 1 93: %1 is not a valid Win32 application - C:/Program Files/OpenStudio 1.6.0/Ruby/openstudio/openstudioutilitiescore.so (Load Error)

(See the screen clip attached for the rest of the error)

Any idea what the problem could be? I am at a loss as I have tried both the 64 and 32 bit versions of Ruby and neither work. I am currently running: OpenStudio 1.6.0 Ruby 2.0.0-p594

Running Openstudio measure tests in the command line with Ruby

I am attempting to run the test file AssignSpaceTypeToBuilding_Test from the command line to make sure that Ruby and Openstudio are working properly on my machine. My end goal is to automate running several measures from the command line. However, whenever I run even the first line of test file code:

require 'openstudio'

The following cryptic error appears in the the command window:

DL is deprecated, please use Fiddle C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:44:in 'require': 1 93: %1 is not a valid Win32 application - C:/Program Files/OpenStudio 1.6.0/Ruby/openstudio/openstudioutilitiescore.so (Load Error)

(See the screen clip attached for the rest I followed all of the error)installation instructions as described here: http://nrel.github.io/OpenStudio-user-documentation/getting_started/getting_started/.

Any idea what the problem could be? I am at a loss as I have tried both the 64 and 32 bit versions of Ruby and neither work. I am currently running: OpenStudio 1.6.0 Ruby 2.0.0-p594

Any help would be greatly appreciated!

Running Openstudio measure tests in the command line with Ruby

I am attempting to run the test file AssignSpaceTypeToBuilding_Test from the command line to make sure that Ruby and Openstudio are working properly on my machine. My end goal is to automate running several measures from the command line. However, whenever I run even the first line of test file code:

require 'openstudio'

The following cryptic error appears in the the command window:

DL is deprecated, please use Fiddle C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:44:in 'require': 1 93: %1 is not a valid Win32 application - C:/Program Files/OpenStudio 1.6.0/Ruby/openstudio/openstudioutilitiescore.so (Load Error)

I followed all of the installation instructions as described here: http://nrel.github.io/OpenStudio-user-documentation/getting_started/getting_started/. Any idea what the problem could be? I am at a loss as I have tried both the 64 and 32 bit versions of Ruby and neither work. I am currently running: OpenStudio 1.6.0 Ruby 2.0.0-p594

Any help would be greatly appreciated!

Running Openstudio measure tests in the command line with Ruby

I am attempting to run the test file AssignSpaceTypeToBuilding_Test from the command line to make sure that Ruby and Openstudio are working properly on my machine. My end goal is to automate running several measures from the command line. However, whenever I run even the first line of test file code:

require 'openstudio'

The following cryptic error appears in the the command window:

DL is deprecated, please use Fiddle C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:44:in 'require': 1 93: %1 is not a valid Win32 application - C:/Program Files/OpenStudio 1.6.0/Ruby/openstudio/openstudioutilitiescore.so (Load Error)

I followed all of the installation instructions as described here: http://nrel.github.io/OpenStudio-user-documentation/getting_started/getting_started/. http://nrel.github.io/OpenStudio-user-documentation/getting_started/getting_started/

Any idea what the problem could be? I am at a loss as I have tried both the 64 and 32 bit versions of Ruby and neither work. I am currently running: OpenStudio 1.6.0 Ruby 2.0.0-p594

Any help would be greatly appreciated!

Running Openstudio measure tests in the command line with Ruby

I am attempting to run the test file AssignSpaceTypeToBuilding_Test from the command line to make sure that Ruby and Openstudio are working properly on my machine. My end goal is to automate running several measures from the command line. However, whenever I run even the first line of test file code:

require 'openstudio'

The following cryptic error appears in the the command window:

DL is deprecated, please use Fiddle C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:44:in 'require': 1 93: %1 is not a valid Win32 application - C:/Program Files/OpenStudio 1.6.0/Ruby/openstudio/openstudioutilitiescore.so (Load Error)

I followed all of the installation instructions as described here: http://nrel.github.io/OpenStudio-user-documentation/getting_started/getting_started/ nrel.github.io/OpenStudio-user-documentation/getting_started/getting_started/

Any idea what the problem could be? I am at a loss as I have tried both the 64 and 32 bit versions of Ruby and neither work. I am currently running: OpenStudio 1.6.0 Ruby 2.0.0-p594

Any help would be greatly appreciated!