Issue #2404 has been updated by C. Zona.


Ping.  Can we please get this patch merged to 1.9.1?  Thanks.
----------------------------------------
Backport #2404: [PATCH] force_encoding on frozen string in gem_prelude
http://redmine.ruby-lang.org/issues/2404

Author: Sam Ruby
Status: Assigned
Priority: Normal
Assignee: Yuki Sonoda
Category: 
Target version: 
ruby -v: ruby 1.9.2dev (2009-11-26 trunk 25926) [i686-linux]


=begin
 Simply entering any gem command or even irb on Ubuntu produces the following:
 
 Error loading gem paths on load path in gem_prelude
 can't modify frozen string
 <internal:gem_prelude>:70:in `force_encoding'
 <internal:gem_prelude>:70:in `set_home'
 <internal:gem_prelude>:38:in `dir'
 <internal:gem_prelude>:83:in `set_paths'
 <internal:gem_prelude>:47:in `path'
 <internal:gem_prelude>:227:in `push_all_highest_version_gems_on_load_path'
 <internal:gem_prelude>:301:in `<compiled>'
 
 Note: on Linux, File::ALT_SEPARATOR=nil, so the gsub will not be executed.
 
 Patch attached.
=end



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