Clean up the gemspec

Fix the rakefile so it works on newer rubies, then regenerate the gemspec to include the gems we're using but never got added.