Getting rid of ruby code on master.

(Check ruby branch for the tentative beginnings of doing this in ruby.
It's probably not even worth keeping, but...)