Use RbConfig.ruby

We can drop Ruby 1.8 support for GitHubPostReceiver because noone use
it on Ruby 1.8.