On Jan 12, 2010, at 5:13 PM, Pito Salas wrote:
Yehuda, Here are a couple of traces... I don't understand them exactly but say what, on the 'working' environment, it looks like Rails extends Ruby's rexml as part of its core suite, and all of rexml gets loaded automatically when the server starts. Also see the next quote in case it's useful of the include path...
The trick here is that rexml/document is only required inside this conditional (in core_ext/rexml.rb):
unless (defined?(REXML::VERSION) ? REXML::VERSION : REXML::Version) > "3.1.7.2"
So I'm guessing the working machine has an earlier patchlevel of Ruby that triggers the fix, and the not-working one obviously has a later version that doesn't.
The results of 'ruby -v' on both should show a difference... --Matt Jones
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
