问题描述
刚开始使用流轨。我尝试从终端和gen文件上安装stream-rails gem。它说已安装了gem,但尚未创建“ config / initializers / stream_rails.rb”。请指教。 弗雷德
解决方法
欢迎使用StackOverflow!
如setup instructions over here中所述,您需要添加该文件。它不会自动生成。
看看设置说明-
Login with Github on getstream.io and get your api_key and api_secret from your app configuration (Dashboard screen).
Then you can add the StreamRails configuration in config/initializers/stream_rails.rb