为Rails 4设置apn_sender

时间:2013-10-17 19:02:37

标签: ruby-on-rails ruby-on-rails-4 resque apn

我查看了github,但找不到如何开始发送​​通知或配置apn_sender的设置。

每次我使用此gist https://gist.github.com/mariovisic/965976启动apn_sender时出现以下错误:

bin / apn_sender --environment = development --verbose start

/Users/ankur/.rvm/gems/ruby-2.0.0-p247/gems/apn_sender-2.0.0/lib/apn/sender_daemon.rb:48:in `initialize': invalid option: --environment=development (OptionParser::InvalidOption)
    from bin/apn_sender:9:in `new'
    from bin/apn_sender:9:in `<main>'

如何正确设置apn_sender,或者是否有任何在线教程如何操作。我正在使用Rails 4

0 个答案:

没有答案