collectiveidea/tinder — Issue #31: require 'tinder' fails with activesupport 2.3.9
Author: octplane
Created: 2011-10-18 11:27:42+00:00
State: open

On ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2011.03,

````shell
irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'tinder'
NoMethodError: undefined method `delegate' for #
from /usr/local/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/activesupport-2.3.9/lib/active_support/json/decoding.rb:13
from /usr/local/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/local/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/activesupport-2.3.9/lib/active_support/json.rb:1
from /usr/local/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/local/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/tinder-1.7.0/lib/tinder/connection.rb:2
from /usr/local/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/local/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/tinder-1.7.0/lib/tinder.rb:2
from /usr/local/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):2
````

Installed gems:

````shell
gem list

*** LOCAL GEMS ***

activesupport (2.3.9)
addressable (2.2.6)
eventmachine (0.12.10)
faraday (0.7.5)
faraday_middleware (0.7.0)
hashie (1.2.0)
http_parser.rb (0.5.3)
mime-types (1.16)
multi_json (1.0.3)
multipart-post (1.1.3)
rack (1.3.5)
simple_oauth (0.1.5)
tinder (1.7.0)
twitter-stream (0.1.14)
`````

The gem does not constrain correctly its dependencies.