fix installing bundled gems in ruby-2.2.0, update ruby/ruby#798