Redefine rspec-mocks method to make our sandboxing work properly.
Merge pull request #1274 from rspec/fix-broken-2-99-build

Redefine rspec-mocks method to make our sandboxing work properly.