Displaying result of *.rb files on browser

hi
i am new to ruby. i hav installed ruby gems. even webrick server is
runing on port 8808. but i am sturked how display result of *.rb file on
browser. can any help me in this please. and ruby gems is installed in
“c:ruby/lib/ruby/gems/1.8”