did you type "irb" first to bring up the ruby command prompt?

it should look something like this:

ruby-1.8.7-p334 :001 >

--ian

On Fri, Nov 18, 2011 at 10:21 PM, Otto Dydakt <ottodydakt / yahoo.com> wrote:

> OK thank you, I uninstalled & reinstalled, checking the three boxes at
> installation so now .rb files show up as ruby and not text files, etc.
>
> so now i go to command and type "puts 1+2" and it's supposed to return
> "3" but it says instead:
>
> 'puts' is not recognized as an internal or external command, operable
> program or batch file.
>
> What am I doing wrong? my tutorial book doesn't say this is a common
> problem. Does this have anything to do with running win 7 64bit?
>
> --
> Posted via http://www.ruby-forum.com/.
>
>