
-----------------------------------
dirwin
Thu Mar 24, 2005 8:29 pm

hello world
-----------------------------------
hi 
sorry i got another question sorry i just started working with ruby
i ran it and did the first code in the book which is a script that prints the words hello world on the screen :) well atleast it is suppost to again sorry 
i have inclosed a screeny of my problem and the page of the book i copyed it outa. what am i doing wrong?

-----------------------------------
wtd
Thu Mar 24, 2005 8:33 pm


-----------------------------------
They can't be blamed for saying that is the easiest way to run Ruby code interactively, because at the time it likely was.  Nowadays I'd suggest using irb.

C:/> irb
irb(main):001:0> puts "Hello world"
Hello world
=> nil
irb(main):002:0>

-----------------------------------
dirwin
Thu Mar 24, 2005 8:51 pm


-----------------------------------
omg it worked thank you so much :)
my first code woohoo

-----------------------------------
wtd
Thu Mar 24, 2005 9:02 pm


-----------------------------------
Congratulations.  :)
