Can't install sqlite3-ruby gem on Mac OS X 10.5 Leopard

I have a fresh installation of Leopard on my laptop. When I ran "sudo gem update --system" it seemed to wipe out all of my gems. Weird. I was able to reinstall with "sudo gem install rails --include- dependencies" but I can't get the sqlite3-ruby gem to install.

This is what I get: