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

Installing Ruby for OpenStudio v1.3.0

asked 2015-02-27 13:52:42 -0600

dpud12's avatar

updated 2015-04-13 18:03:13 -0600

The release notes for OS v1.3.0 specify that to run measures from the command line all that you need to do is download the Ruby zip folder and add the installed path to the computers PATH. However, when I download the zip file there is no installer within the extracted folder. I also looked at downloading 1.8.6 from the rubyinstaller site directly, however, the links are no longer functioning. Am I wrong in assuming there should be a .exe to complete the installation?

I am running OS v1.3.0 on Windows XP (not my choice . . . .so upgrading to a newer version is not an option)

Any and all help is greatly appreciated!

edit retag flag offensive close merge delete

Comments

@dpud12 The ruby install in the zip folder linked in the release notes doesn't have an installer. You simply unzip that folder to C\Ruby, add the directory to your PATH, and it works. The workaround you figured out accomplishes the same thing.

aparker's avatar aparker  ( 2015-02-28 13:07:40 -0600 )edit

@aparker I see what you're saying, but when I tried that I was unable to run a measure from the command line. The basis of the problem was that I was not able to set Ruby as the default program to run an RB file, and so when I dropped an RB file into the prompt Windows didn't know how to run it. I know I must have been missing something, was there a certain file within the Ruby folder that I was supposed to point it towards?

dpud12's avatar dpud12  ( 2015-03-02 09:26:09 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-02-27 14:18:12 -0600

dpud12's avatar

I figured out a workaround by downloading the Ruby 1.8.7-p374 installer and following the same steps that are posted in the Installation and Introductory Tutorial page for installing Ruby. Just make sure to change directory names.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2015-02-27 13:52:42 -0600

Seen: 191 times

Last updated: Feb 27 '15