ruby-on-rails – Rails 5:不建议使用`Gem.paths =`参数中的数
发布时间:2020-12-16 20:41:49 所属栏目:百科 来源:网络整理
导读:构建基于actioncable的示例的websockets应用程序.启动服务器,运行耙机等时,我不断收到消息: Array values in the parameter to `Gem.paths=` are deprecated. 在这里没有看到解决方案,但找到了一个解决方案.我想在这里发布问题和答案,以便可用. 解决方法 我
构建基于actioncable的示例的websockets应用程序.启动服务器,运行耙机等时,我不断收到消息:
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 这解决了我的问题. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |