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

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

```

Haven't seen a solution here, but did find one. I wanted to post the question and answer here so that it's available.

Answer: 
I found the answer in RubyGems issue #1551 [here](https://github.com/rubygems/rubygems/issues/1551). 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.
I also face same error in my `rails 4.2.7` application and I fixed the error to update `bin/spring` file line no 11 

```
Gem.paths = { 'GEM_PATH' => [Bundler.bundle_path.to_s, *Gem.path].uniq.join(Gem.path_separator) }

```