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 ruby scripts remotely through a web interface

My team is developing a web application that takes a few user inputs, and then based on those inputs modifies an OpenStudio model through ruby measures, runs the OpenStudio model, and then reports the outputs. We are using ASP.NET to develop the web app (as a team member has extensive experience in this language, and none in Ruby on Rails), however, whenever we attempt to run a ruby measure remotely through the web app it never runs the ruby script. What is extremely peculiar is that the web app does run the ruby script when it is run on the local host. We are at a loss for what could be causing this failure when running remotely, and have spent a significant amount of time already trying to debug to no avail. Any idea what the problem might be, or have seen any documented cases of running a ruby script through a web app? Thanks in advance for any insights.

Running openstudio ruby scripts remotely through a web interface

My team is developing a web application that takes a few user inputs, and then based on those inputs modifies an OpenStudio model through ruby measures, runs the OpenStudio model, and then reports the outputs. We are using ASP.NET to develop the web app (as a team member has extensive experience in this language, and none in Ruby on Rails), however, whenever we attempt to run a ruby measure remotely through the web app it never runs the ruby script. What is extremely peculiar is that the web app does run the ruby script when it is run on the local host. We are at a loss for what could be causing this failure when running remotely, and have spent a significant amount of time already trying to debug to no avail. Any idea what the problem might be, or have seen any documented cases of running a ruby script through a web app? Thanks in advance for any insights.