Duplicated question :http://www.linux.com/learn/answers/19-applications/181-i...

Duplicated question :
http://www.linux.com/learn/answers/19-applications/181-i-have-installed-ruby-language-on-my-ubuntu-linux-using-the--sudo-apt-get-install-ruby-gnome2-

Ruby is a scripting language and you don't compile ruby script to run it.
Please read the ruby documentation if you would like to understand how ruby works and how to use it :
http://www.ruby-lang.org/en/

Click Here!