jpoz / APNS

An Apple Push Notification Service gem
MIT License
543 stars 194 forks source link

gemspec missing dependency on json #3

Open betelgeuse opened 13 years ago

betelgeuse commented 13 years ago
$ cat Gemfile
source :rubygems
gem 'apns'

irb(main):002:0> require 'bundler/setup'
=> true
irb(main):004:0> require 'apns'
LoadError: no such file to load -- json
        from /usr/local/lib/ruby/gems/1.8/gems/apns-0.9.0/lib/apns/core.rb:4:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/apns-0.9.0/lib/apns/core.rb:4
        from /usr/local/lib/ruby/gems/1.8/gems/apns-0.9.0/lib/apns.rb:1:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/apns-0.9.0/lib/apns.rb:1
        from (irb):4:in `require'
        from (irb):4

As json is used the gemspec should declare a dependency on it.

gerrit commented 12 years ago

This is still an issue