msgpack/msgpack-ruby — pull request #16 by thegreendroid (2013-08-10 02:31:47+00:00)
Title: Getting msgpack to work with Ruby v2.0

Hi there,

I was running into a LoadError with Ruby v2.0.0 when using msgpack -

C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': c
annot load such file -- C:/Ruby200/lib/ruby/gems/2.0.0/gems/msgpack-0.5.5-x86-mi
ngw32/lib/msgpack/msgpack (LoadError)
from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
`require'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/msgpack-0.5.5-x86-mingw32/lib/m
sgpack.rb:9:in `rescue in '
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/msgpack-0.5.5-x86-mingw32/lib/m
sgpack.rb:3:in `'
from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
`require'
from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
`require'

The change I've made seems to fix it, feel free to merge if you think it is appropriate.