我查看了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