Silence ruby warnings from 3rd party libs.
Merge pull request #1116 from rspec/silence-other-lib-deprecations

Silence ruby warnings from 3rd party libs.