Didin Ibnu Sarnan wrote in post #995669:
> Hi,
>
> I just installed ruby on my ubuntu, I use this following command to
> install
> ruby:
>
> # sudo apt-get install ruby1.9.1-full
>
> After installation succeeded, I don't know what are the next step to
> begin
> developing ruby, I from PHP language and I want to try to learn ruby.
>

You want to get a text editor that does automatic line indenting.  Then 
you create a new file, enter some ruby code, and save the file with a 
.rb extension.  Then at the command line type:

ruby my_program.rb

and you will see any output your program produces.

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