Print Version

Ruby Interpreter

The Ruby Interpreter is required in order to use:

  • MRvcmt, a graphical user interface (GUI) to the configuration management tool (CMT)
  • FRED, the GLAST event display tool

Windows

  1. If you have a Windows machine, download the Ruby Interpreter using the one-click installer at http://rubyinstaller.rubyforge.org/wiki/wiki.pl.

Troubleshooting Tip – Windows machines only; does not apply to Linux: At the time this was written, some of the later versions of Ruby caused a failure of FRED to launch automatically after running Gleam. The procedures in this section were run using Ruby 1.8.2-15, and it is strongly recommended that Windows users use this version. These earlier versions of Ruby can be downloaded from the RubyForge website.

  1. Test your Ruby Installation as follows:
    1. Open a DOS window.
    1. At the DOS prompt, enter:

      ruby --version

    Your installation was successful if you see something similar to:

    ruby 1.8.2 (2004-07029) [i386-mswin32]

Linux

If you have a Linux machine, the Ruby Interpreter utility should already be installed on your system. To verify, enter (from the command line):

    ruby --version

  • If ruby is installed, the response will be similar to:
  • jrb@noric13 $ ruby --version
    ruby 1.8.1 (2003-12-25) [i686-linux]

  • If ruby is not installed:
    1. Download the Ruby Interpreter from the Ruby website and uncompress it.
    1. To install it, enter:

    ./configure --prefix=myInstallDirectory

    (where "myInstallDirectory" is an absolute path)


    > make
    > make install

    1. To make it accessible for csh or tcsh shell, enter:

    setenv PATH ${PATH}:myInstallDirectory

    Note: Make an analogous path for the bash shell.

 

Last updated by: Chuck Patterson 10/15/2008