Issue #9202 has been updated by normalperson (Eric Wong).

File 0001-Array-uniq-uniq-does-not-return-frozen-hash-keys.patch added

This should fix it, can you confirm/? Thanks
----------------------------------------
Bug #9202: Array#uniq freezes duplicate strings
https://bugs.ruby-lang.org/issues/9202#change-43381

Author: drbrain (Eric Hodel)
Status: Assigned
Priority: Normal
Assignee: charliesome (Charlie Somerville)
Category: core
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev (2013-12-02 trunk 43958) [x86_64-darwin13.0]
Backport: 1.9.3: DONTNEED, 2.0.0: DONTNEED


I imagine this is related to the recent frozen string changes.  This behavior change in Array#uniq breaks RubyGems:

$ cat test.rb
p unique: %w[a].uniq.any? { |item| item.frozen? }
p duplicate: %w[a a].uniq.any? { |item| item.frozen? }
$ ruby -v test.rb
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.4.0]
{:unique=>false}
{:duplicate=>false}
$ make runruby
./miniruby -I../trunk/lib -I. -I.ext/common  ../trunk/tool/runruby.rb --extout=.ext  -- --disable-gems ../trunk/test.rb
{:unique=>false}
{:duplicate=>true}



-- 
http://bugs.ruby-lang.org/