An update to PL/Ruby would be great.

It doesn't appear to have been updated for a couple of years or use Ruby 1.9 : https://github.com/knu/postgresql-plruby . There is also a newer fork : https://github.com/globegit/postgresql-plruby , which does appear to be worked on.