Rails 5: Array values in the parameter to `Gem.paths=` are deprecated
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.