根据actioncable-examples构建websockets应用。启动服务器,运行rake等时,我不断收到消息:
Array values in the parameter to `Gem.paths=` are deprecated.
在这里没有看到解决方案,但是找到了。我想在此处发布问题和答案,以便可以使用。
最佳答案
我在RubyGems问题#1551 here中找到了答案。 binstubs(bin文件夹中的文件)需要更新。最好的方法是:
bundle update spring
bundle exec spring binstub --remove --all
bundle exec spring binstub --all
这就为我解决了问题。
关于ruby-on-rails - Rails 5:不推荐使用 `Gem.paths=`参数中的数组值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37864054/