Friday, June 22, 2012

[Rails] Re: no such file to load -- rexml/encodings/UTF8.rb

We include REXML directly in console, same result, this is Rails app,
here is example what we do:

>> include REXML
=> Object

and after that we post request to our provider and parse answer from
him, and get error:

no such file to load -- rexml/encodings/UTF8.rb
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.[]

On Ubuntu it works fine, on FreeBSD 8.2 or FreeBSD 9.0 we get error :(

--
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 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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate