Bug #2304: in gem_prelude: unknown encoding name - filesystem
http://redmine.ruby-lang.org/issues/show/2304

Author: Martin Dürst
Status: Open, Priority: Normal
Category: M17N
ruby -v: ruby 1.9.2dev (2009-10-28 trunk 25530) [i386-cygwin]

When trying to compile Ruby, when it processes known errors, I get the following error:
ruby ./tool/generic_erb.rb -c -o known_errors.inc ./template/known_errors.inc.tmpl ./defs/known_errors.def
Error loading gem paths on load path in gem_prelude
unknown encoding name - filesystem
<internal:gem_prelude>:70:in `find'
<internal:gem_prelude>:70:in `set_home'
<internal:gem_prelude>:38:in `dir'
<internal:gem_prelude>:83:in `dir'
<internal:gem_prelude>:47:in `set_paths'
<internal:gem_prelude>:227:in `push_all_highest_version_gems_on_load_path'
<internal:gem_prelude>:301:in `<compiled>'

For some reason, this error message also gets written to revision.h, which then causes more errors.


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