add code to source/rubygems.rb so previous tests pass again