Blog‎ > ‎

How to run Ruby Code

posted Apr 3, 2012, 3:58 PM by Michael Dreyfus-Pai
  1. "cd" into the right location in Terminal (the same as your file).
  2. Make sure that your code has been saved.
  3. run "ruby <filename.rb>"
Comments