Ruby Installation Instructions
Programming Language Paradigms

Team Amethyst

Tim Wentz (wentztj)
Ben Kehm (kehmbv)
Nathan Shevick (shevicna)

Installing on Windows 7

  1. Go to Ruby Download Page
  2. Navigate to the Ruby on Windows section
  3. Select the latest 1.8.7-p### Ruby Installer
  4. Once the download has completed, run the installer
  5. Accept the license and click Next
  6. Make sure to select both checkboxes:
      Allow ruby to add executables to path
      Associate .rb and .rbw files with ruby install
  7. Click Install
  8. Once the install is done, click Finish

Installing on Mac OS X

Nothing to do here. It's already installed.

Installing on Ubuntu

Run in terminal:
sudo apt-get install ruby

That's it.

Hello World

  1. Open Interactive Ruby:
    1. On Windows: Open the `ruby 1.8.7-p###` folder from the start menu. Select Interactive Ruby
    2. On Mac OS X and Ubuntu: Open a terminal and type irb
  2. Type in the given code at the prompt.
    Code:
    puts "Hello World!"
  3. It should print out Hello World! on the next line.
  4. That's it! Your Ruby install works!