revert c9987dd02292d partially because the gems loaded by td-agent run with Ruby 1.9.3.
Merge pull request #270 from axsh/fix-revert-c9987dd02292d07

Revert c9987dd02292d