From: Hassan Schroeder Date: 2012-11-11T01:17:30+09:00 Subject: Re: Complete newbie On Sat, Nov 10, 2012 at 7:52 AM, Carlos A. wrote: > I have saved the text wrangler file on my desktop, so I open the > terminal, type irb for ruby, That's wrong; if you want to *run* the program in the file, do exactly as Damian said, e.g. ruby /Desktop/calc.rb Run irb when you want to do interactive experimentation. -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan