Rails 5: Array values in the parameter to `Gem.paths=` are deprecated

后端 未结 2 1893
攒了一身酷
攒了一身酷 2020-12-29 03:09

Building websockets app based off of actioncable-examples. When starting server, running rake, etc. I keep getting the message:

Array values in the paramet         


        
2条回答
  •  -上瘾入骨i
    2020-12-29 03:34

    I found the answer in RubyGems issue #1551 here. The binstubs, the files in the bin folder, need to be updated. The best way to do this is:

    bundle update spring
    bundle exec spring binstub --remove --all
    bundle exec spring binstub --all
    

    And that resolved the problem for me.

提交回复
热议问题