Thanks..
--
Posted via http://www.ruby-forum.com/.
You need to type "ruby filename.rb" to run your ruby scripts. Also,
when you double-click a .rb file, it should ask you to choose a program.
Browse for the Ruby interpreter and check "always use this".