I’m learning Ruby from the Learn to Program tutorial by Chris P…
On http://pine.fm/LearnToProgram/?Chapter=01, he mentions saving a
calc.rb file after typing in “puts 1 + 2” in my text editor , then
going to the command line and typing “ruby calc.rb”, and getting the
results “3” returned.
I am not getting this result; instead I’m getting a message that the
file or directory can’t be found. I’m using the built-in Scintilla text
editor which comes with Ruby.
How do I get the command line to see the saved file?
Thanks in advance for your assistance.