Prevent JRuby rubygems warnings from breaking the build

/cc @myronmarston 
Do you think it makes sense to merge this with the `RSpec::Support::RubyFeatures` file?  They seem to go together.