title: How to fix a Ruby "no such file to load -- xsd/qname" error?
body: <p>I'm trying to run the FlightXML2 Ruby library for accessing the FlightAware API. (The library's code is here: <a href="https://github.com/flightaware/flightxml2-client-ruby" rel="nofollow">https://github.com/flightaware/flightxml2-client-ruby</a>)</p>
  
  <p>When including the library file with the line "require 'FlightXML2.rb'", the following exception occurs: </p>
  
  <pre><code>LoadError: no such file to load -- xsd/qname
      from /...PATH TO GEMS.../activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require'
      from /...PATH TO GEMS.../activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require'
      from /...PATH TO GEMS.../activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency'
      from /...PATH TO GEMS.../activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require'
      from /...PATH TO GEMS.../lib/FlightXML2.rb:1:in `&lt;top (required)&gt;'
      from /...PATH TO GEMS.../activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require'
      from /...PATH TO GEMS.../activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require'
      from /...PATH TO GEMS.../activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency'
      from /...PATH TO GEMS.../activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require'
      from (irb):2
      from /...PATH TO GEMS.../railties-3.2.9/lib/rails/commands/console.rb:47:in `start'
      from /...PATH TO GEMS.../railties-3.2.9/lib/rails/commands/console.rb:8:in `start'
      from /...PATH TO GEMS.../railties-3.2.9/lib/rails/commands.rb:41:in `&lt;top (required)&gt;'
      from script/rails:6:in `require'
      from script/rails:6:in `&lt;main&gt;'
  </code></pre>
  
  <p>I suspect this has to do with incompatibility between Ruby 1.9 and 1.8, for which the library was written. Is there a way to make this work with Ruby 1.9?</p>