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 10 years ago

dpud12's avatar

updated 10 years ago

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!

Preview: (hide)

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  ( 10 years ago )

@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  ( 10 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 10 years ago

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.

Preview: (hide)
link

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: 10 years ago

Seen: 201 times

Last updated: Feb 27 '15