ffi/ffi — pull request #163 by meh (2011-10-20 09:15:14+00:00)
Title: Fix an error on ruby-head (2.0.0dev)

```
/home/meh/.rvm/gems/ruby-head/gems/ffi-1.0.9/lib/ffi/platform.rb:44:in `': uninitialized constant FFI::Platform::CPU (NameError)
from /home/meh/.rvm/gems/ruby-head/gems/ffi-1.0.9/lib/ffi/platform.rb:26:in `'
from /home/meh/.rvm/gems/ruby-head/gems/ffi-1.0.9/lib/ffi/platform.rb:23:in `'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/gems/ruby-head/gems/require-extra-0.0.2/lib/require/on.rb:30:in `call'
from /home/meh/.rvm/gems/ruby-head/gems/require-extra-0.0.2/lib/require/on.rb:30:in `block in '
from /home/meh/.rvm/gems/ruby-head/gems/refining-0.0.5.2/lib/refining.rb:59:in `block (2 levels) in refine_method'
from /home/meh/.rvm/gems/ruby-head/gems/ffi-1.0.9/lib/ffi/ffi.rb:20:in `'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/gems/ruby-head/gems/require-extra-0.0.2/lib/require/on.rb:30:in `call'
from /home/meh/.rvm/gems/ruby-head/gems/require-extra-0.0.2/lib/require/on.rb:30:in `block in '
from /home/meh/.rvm/gems/ruby-head/gems/refining-0.0.5.2/lib/refining.rb:59:in `block (2 levels) in refine_method'
from /home/meh/.rvm/gems/ruby-head/gems/ffi-1.0.9/lib/ffi.rb:11:in `'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/gems/ruby-head/gems/require-extra-0.0.2/lib/require/on.rb:30:in `call'
from /home/meh/.rvm/gems/ruby-head/gems/require-extra-0.0.2/lib/require/on.rb:30:in `block in '
from /home/meh/.rvm/gems/ruby-head/gems/refining-0.0.5.2/lib/refining.rb:59:in `block (2 levels) in refine_method'
from /home/meh/.rvm/gems/ruby-head/gems/x11-0.0.1a2/lib/X11/extensions.rb:33:in `'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/gems/ruby-head/gems/x11-0.0.1a2/lib/X11/Xatom.rb:29:in `'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/gems/ruby-head/gems/x11-0.0.1a2/lib/X11/X.rb:29:in `'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/gems/ruby-head/gems/x11-0.0.1a2/lib/X11/Xlib.rb:29:in `'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/meh/.rvm/gems/ruby-head/gems/x11-0.0.1a2/lib/X11/simple.rb:29:in `'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
from /home/meh/.rvm/rubies/ruby-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from /home/meh/bin/rtile:3:in `

'
```

```
> ruby -v
ruby 2.0.0dev (2011-10-19 trunk 33484) [x86_64-linux]
```

There's probably a cleaner way, but well, this fixes it :P