ruby-on-rails - 无法获得一个简单的ruby示例为pubnub工作

ruby-on-rails - 无法获得一个简单的ruby示例为pubnub工作,第1张

Created new Pubnub::Client instance
D, [2015-06-14T16:54:05.940851 #33052] DEBUG -- pubnub: Event#initialize | Initialized Pubnub::Publish
D, [2015-06-14T16:54:05.940972 #33052] DEBUG -- pubnub: Pubnub::Publish#uri http://pubsub.pubnub.com/publish/demo/demo/0/The Angular Channel/0/"Hello PubNub, love the Ruby SDK!"?pnsdk=PubNub-Ruby/3.7.1&uuid=065e1ab5-e87c-4fb2-a07d-b78bd8243610
I, [2015-06-14T16:54:05.941349 #33052]  INFO -- pubnub: Bytesize: 189
D, [2015-06-14T16:54:05.941445 #33052] DEBUG -- pubnub: Pubnub::Publish#uri http://pubsub.pubnub.com/publish/demo/demo/0/The Angular Channel/0/"Hello PubNub, love the Ruby SDK!"?pnsdk=PubNub-Ruby/3.7.1&uuid=065e1ab5-e87c-4fb2-a07d-b78bd8243610
I, [2015-06-14T16:54:05.941521 #33052]  INFO -- pubnub: Length:   189
D, [2015-06-14T16:54:05.941546 #33052] DEBUG -- pubnub: Created event Pubnub::Publish
D, [2015-06-14T16:54:05.941566 #33052] DEBUG -- pubnub: Pubnub::SingleEvent#fire
D, [2015-06-14T16:54:05.941585 #33052] DEBUG -- pubnub: Pubnub::SingleEvent#fire | Adding event to async_events
D, [2015-06-14T16:54:05.941604 #33052] DEBUG -- pubnub: Pubnub::SingleEvent#fire | Starting railgun
D, [2015-06-14T16:54:05.941622 #33052] DEBUG -- pubnub: Pubnub::Client#start_event_machine | starting EM in new thread
D, [2015-06-14T16:54:05.941641 #33052] DEBUG -- pubnub: Pubnub::Client#start_event_machine | We aren't running on thin
D, [2015-06-14T16:54:05.948131 #33052] DEBUG -- pubnub: Pubnub::Client#start_event_machine | EM started in new thread
D, [2015-06-14T16:54:05.948225 #33052] DEBUG -- Pubnub: Pubnub::Client#start_railgun | Initializing railgun
D, [2015-06-14T16:58:22.993076 #33140] DEBUG -- pubnub: Symbolizing options keys
D, [2015-06-14T16:58:22.993217 #33140] DEBUG -- pubnub: Setting default values
D, [2015-06-14T16:58:22.993306 #33140] DEBUG -- pubnub: 

我基本上只是按照SDK文档页面中的示例进行操作。我不太确定出了什么问题。当我尝试使用Angular Channel演示时,我可以成功订阅,但是使用这个ruby脚本我似乎无法使它工作。

日志将打印到pubnub日志。

Intent

最佳答案:

0 个答案:

没有答案
本文经用户投稿或网站收集转载,如有侵权请联系本站。

发表评论

0条回复