When Ruby 1.8 was still cutting edge :), there was a RubyQuiz about building a Sokoban game. This entry by Florian Groß is probably be second first Ruby/Gosu game in existence (after his Encaved for Ludum Dare #5). Even this game precedes Rails 1.0 by over one year. Things have changed...
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/118601I have attached the source with some minor adjustments. It now uses Rubygems, can load the level file on non-Windows systems and is adjusted for one tiny change in the Gosu interface. The binary Windows zip is still the original file.