David Mullet
2/3/2007 4:24:00 PM
On Feb 3, 9:21 am, "Brad" <bradask...@gmail.com> wrote:
> Hi All,
>
> As the subject says.."Can Not Get Ruby to Run in Windows CMD Window"
>
> I have Ruby installed: C:\Ruby
>
> I was reading the Programming Ruby - The Pragmatic Programmers'
> Guide. It says to bring up the Shell Prompt and type Ruby, then puts
> "Hello World"
>
> When I type Ruby <enter> puts "Hello World" nothing happens. What am
> I doing wrong?
>
> Thank you.
>
> Brad
In addition to what Kevin said, keep in mind that "ruby" runs the Ruby
interpreter, while "irb" runs the interactive ruby interpreter.
Mully