title: rb-appscript stopped working with Ruby 2.0.0 - patch ideas to make it work again?
body: <p>I know that rb-appscript is officially no longer supported.</p>
  
  <p>However, I tried and found that rewriting existing libraries to use alternative methods (e.g. osascript) was a non-trivial work and it occurred to me that monkey-patching rb-appscript to work again seemed like a better approach, if ever possible.</p>
  
  <p>Here's what happens.</p>
  
  <pre><code>$ rvm 2.0.0
  $ gem install rb-appscript
  $ irb
  &gt; require 'appscript'
  LoadError: cannot load such file -- _aem/mactypes
  from ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
  from ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
  from ruby-2.0.0-p0/gems/rb-appscript-0.6.1/lib/appscript.rb:8:in `&lt;top (required)&gt;'
  from ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:110:in `require'
  from ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:110:in `rescue in require'
  from ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:35:in `require'
  </code></pre>
  
  <p>What change in Ruby 2.0.0 is causing this?</p>