How do you run the parser?
Is it in the Rails app or a single script?

Try including rexml directly in (irb or rails)console and post the response

четверг, 22 марта 2012 г., 11:04:56 UTC+2 пользователь Ruby-Forum.com User
написал:
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]

--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/itP600EWjccJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 5 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMar 22, '12 at 9:05a
activeJun 22, '12 at 7:09a
posts5
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase