igrigorik/spdy — Issue #15: Gem doesn't work on Ruby 1.8.7 (REE)
Author: cheald
Created: 2012-01-04 04:21:46+00:00
State: open

[chris@luna projects]$ gem install spdy
Fetching: spdy-0.0.3.gem (100%)
Successfully installed spdy-0.0.3
1 gem installed
Building YARD (yri) index for spdy-0.0.3...
[chris@luna projects]$ yum install ^C
[chris@luna projects]$ irb
1.8.7 :001 > require 'rubygems'
=> true
1.8.7 :002 > require 'spdy'
NameError: field 'type' shadows an existing method in SPDY::Protocol::Control::Header
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/spdy-0.0.3/lib/spdy/protocol.rb:54
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/spdy-0.0.3/lib/spdy.rb:5
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:59:in `gem_original_require'
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:59:in `require'
from (irb):2

Works fine in 1.9.3