I\'ve set everything up that I need on my Mac (Ruby, Rails, Homebrew, Git, etc), and I\'ve even written a small program. Now, how do I execute it in Terminal? I wrote the pr
Just invoke ruby XXXXX.rb in terminal, if the interpreter is in your $PATH variable.
ruby XXXXX.rb
( this can hardly be a rails thing, until you have it running. )