# Weird Production Errors with Magic/XML

**URL:** <https://www.ruby-forum.com/t/weird-production-errors-with-magic-xml/119898>\
**Category:** Rails\
**Created:** [November 12, 2007, 1:34am UTC](https://www.ruby-forum.com/t/weird-production-errors-with-magic-xml/119898 "2007-11-12T01:34:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![starnix17](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@starnix17](https://www.ruby-forum.com/u/starnix17)\
**Post date:** [November 12, 2007, 1:34am UTC](https://www.ruby-forum.com/t/weird-production-errors-with-magic-xml/119898/1 "2007-11-12T01:34:37Z")

</div>

Hi,

I’ve been trying to use the Magic/XML library ([http://chaosforge.org/](http://chaosforge.org/)  
taw/magic\_xml/) to parse some large XML files for my application.  
Everything works fine on my Mac Mini that I’m developing on, but as  
soon I try to deploy to production settings, I get this error:

XML is not a class  
#{RAILS\_ROOT}/lib/magic\_xml.rb:374  
#{RAILS\_ROOT}/app/models/usb.rb:5  
#{RAILS\_ROOT}/app/views/dashboard/index.rhtml:11:in  
`\_run\_rhtml\_47app47views47dashboard47index46rhtml’

Anyone have any ideas as to what would be causing this or how to go  
about troubleshooting?

Thanks for taking a look,  
Tony
