APNS icon indicating copy to clipboard operation
APNS copied to clipboard

gemspec missing dependency on json

Open betelgeuse opened this issue 14 years ago • 1 comments

$ 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.

betelgeuse avatar Jan 08 '11 12:01 betelgeuse

This is still an issue

gerrit avatar Nov 23 '11 11:11 gerrit