[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Suraj Kurapati

4/17/2007 11:14:00 PM

poison tooth wrote:
> Grab a text editor and type in the following:
>
> puts "Hello World"
>
> Save the file as hello.rb and run it by typing
> ruby hello.rb"

If you just want to make sure that you can run that book example, here
is a quick low-level solution. In a terminal, run:

echo 'puts "Hello World"' > hello.rb
ruby hello.rb

Alternatively, you can run:

ruby -e 'puts "Hello World"'

As for your program editing troubles, I suggest having a look at the
Ruby garden (skip down to the "Ruby development environments" section):

http://wiki.rubygarden.org/Ruby/page/show/RubyO...

--
Posted via http://www.ruby-....