Rak is a grep replacement in pure Ruby. It accepts Ruby syntax regular expressions and automatically recurses directories, skipping .svn/, .cvs/, pkg/ and more things you don't care about. It is based on the Perl tool ack by Andy Lester.
Installing
gem install rak
http://danlucraft.com/blog/2007/11/rak-a-grep-replacement-in-pure-ruby/