Move Ruby build to a plain gemspec + Gemfile.

This means it's no longer possible to run Ruby tests with the bundled
JRuby jar (which isn't Ruby 1.9-compatible anyway).