Help in RUBY

guys
i walked on howtoinstallrubyonrails review
i just want to try ruby
i made anew user account on shared server & i give it shell access
i tested this from shell
ruby -e 'print "hello world\n"'
hello world
so it works nice from shell
how i can test it from browser ????????
is ruby file must take special extension ???
is there any reconfiguration to httpd.conf server wide ???
plz i need help