I'm install ruby 1.8.7 from rvm on FreeBSD 9 RELEASE, and then I parse xml I get this error: no such file to load -- rexml/encodings/UTF8.rb
Here is response (cyrillic symbols):
<trip> <Round num="151">АС ЖИТОМИР - ОСТ АП БОРИСПІЛЬ</Round> <regularity>93</regularity> <bus>ГАЗЕЛЬ</bus> <distance>121</distance> <ArrFromPoint time=""/>
Here is my gems list:
gem list
*** LOCAL GEMS ***
actionmailer (2.3.5) actionpack (2.3.5) activemodel (3.2.2) activerecord (2.3.5) activeresource (2.3.5) activesupport (3.2.2, 2.3.5) arel (3.0.2) bson (1.6.1, 1.4.0) bson_ext (1.6.1) builder (3.0.0) bundler (1.1.2) chronic (0.6.7) crack (0.3.1) dalli (1.1.5) datanoise-actionwebservice (2.3.5) erubis (2.7.0) hike (1.2.1) htmlentities (4.3.1) i18n (0.6.0) javan-whenever (0.3.7) jnunemaker-validatable (1.8.4) journey (1.0.3) libxml-ruby (2.3.2) mail (1.6.0) mime-types (1.18) modularity (0.6.1) mongo (1.4.0) mongo_ext (0.19.3) mongo_mapper (0.8.6) mongoid (2.4.7) multi_json (1.1.0) mysql (2.8.1) net-scp (1.0.4) net-sftp (2.0.5) net-ssh (2.3.0) nokogiri (1.5.2) plucky (0.3.8) rack (1.4.1, 1.0.1) rack-cache (1.2) rack-test (0.6.1) rails (2.3.5) rake (0.9.2) rmagick (2.13.1) ruby-hmac (0.4.0) rubygems-update (1.5.3) rubyzip (0.9.6.1) savon (0.7.9) searchlogic (2.4.28) sprockets (2.1.2) tilt (1.3.3) tzinfo (0.3.32) unicode (0.4.2) xml-simple (1.1.1)
ruby -v ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-freebsd9.0]