Peter Vandenabeele wrote in post #1038848:
> Hi,
>
> While running cucumber tests on shoes with ruby-1.9.3-p0 (on rvm on
> linux
> on 32 bit x86),
> I may have hit a ruby bug:
>
>
> /home/peterv/.rvm/gems/ruby-1.9.3-p0/gems/json-1.6.3/lib/json/common.rb:66:
> [BUG] unknown type 0x22 (0xc given)
>   ruby 1.9.3p0 (2011-10-30 revision 33570) [i686-linux]
>   ...

The problem is not Ruby 1.9.3-p0 versus 1.9.3-p6, the problem is that 
you have an extension is not compiled for Ruby 1.9.2/1.9.3 and somehow 
Ruby is trying to load it.

Search Ruby 1.9.2 or 1.9.3 unknown type 0x22 in Google and will find 
several occurrences of that.

It doesn't happen on your fresh Ruby 1.9.3-head because gem and 
extensions were freshly compiled for it -- not shared with previous 
installation.

I recommend you remove existing gems and install them again.

--
Luis Lavena

-- 
Posted via http://www.ruby-forum.com/.