Hello, I''ve been looking on the Internet for how to use libxml within Rails. What I''m seeing is a little confusing. If you install the libxml gem, will Rails automatically use that because its installed or do you have to explicitly set libxml to be the default after you''ve installed it? This posting http://www.coffeepowered.net/2009/03/16/things-to-do-when-upgrading-to-rails-23/ Says to set this in the environment file. 1. ActiveSupport::XmlMini.backend = ''LibXML'' But when I do that my app crashes. Anyone have any experience with this? thanks, binh -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Binh Ly wrote:> Hello, > > I''ve been looking on the Internet for how to use libxml within Rails. > What I''m seeing is a little confusing. If you install the libxml gem, > will Rails automatically use that because its installed or do you have > to explicitly set libxml to be the default after you''ve installed it? > > This posting > > http://www.coffeepowered.net/2009/03/16/things-to-do-when-upgrading-to-rails-23/ > > Says to set this in the environment file. > > 1. > ActiveSupport::XmlMini.backend = ''LibXML'' > > But when I do that my app crashes. Anyone have any experience with > this? >If you could provide the entire backtrace, it would be much easier to diagnose. Michael Guterl -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---