Ensure rubygems is required, fixes 1.8.7 test failures