Takashi & Kayoko Sano
tksan****@m3*****
Wed Nov 24 21:09:46 JST 2004
Hi, Agostino Agostino Zito <zito_74****@yahoo*****> wrote: >when I launch my executable PstnPortAdmin.exe it fails > > >C:\ruby\PstnConfTool>PstnPortAdmin.exe >rexml/encoding.rb:39:in `load': No such file to load >-- rexml/encodings/UTF-8.rb > (LoadError) > from rexml/encoding.rb:39:in `old_enc=' > from rexml/xmldecl.rb:74:in `encoding=' > from rexml/xmldecl.rb:30:in `initialize' > from rexml/xmldecl.rb:84:in `new' > from rexml/xmldecl.rb:84:in `default' > from rexml/document.rb:25 > > >The PstnPortAdmin.exr generated is the sequent where >isn't the add rexml/encodings/UTF-8.rb >I just tried to add manually. Exerb cannot handle 'load' call properly, so you have to add those files manually to your receipe file (*.exr). The following is the list of those files/paths I add to the receipe file of an application that uses REXML. --- add_extension_library uconv.so C:/ruby/lib/ruby/site_ruby/1.8/ i386-msvcrt/uconv.so add_extension_library iconv.so C:/ruby/lib/ruby/1.8/i386- mswin32/iconv.so add_ruby_script rexml/encodings/UTF-8.rb C:/ruby/lib/ruby/1.8/ rexml/encodings/UTF-8.rb add_ruby_script rexml/encodings/UTF-16.rb C:/ruby/lib/ruby/1.8/ rexml/encodings/UTF-16.rb add_ruby_script rexml/encodings/US-ASCII.rb C:/ruby/lib/ruby/1.8/ rexml/encodings/US-ASCII.rb add_ruby_script rexml/encodings/UNILE.rb C:/ruby/lib/ruby/1.8/ rexml/encodings/UNILE.rb add_ruby_script rexml/encodings/SHIFT_JIS.rb C:/ruby/lib/ruby/1.8/ rexml/encodings/SHIFT_JIS.rb add_ruby_script rexml/encodings/SHIFT-JIS.rb C:/ruby/lib/ruby/1.8/ rexml/encodings/SHIFT-JIS.rb add_ruby_script rexml/encodings/ISO-8859-1.rb C:/ruby/lib/ruby/1.8/ rexml/encodings/ISO-8859-1.rb add_ruby_script rexml/encodings/ICONV.rb C:/ruby/lib/ruby/1.8/ rexml/encodings/ICONV.rb add_ruby_script rexml/encodings/EUC-JP.rb C:/ruby/lib/ruby/1.8/ rexml/encodings/EUC-JP.rb --- Hope this helps, Takashi Sano