Ruby 2.2 TypeError: no implicit conversion of Array into String

I was running code with Ruby 1.9 that was passing my rake test. I
updated to Ruby 2.2, and now the code that was working is throwing two
TypeError: no implicit conversion of Array into String. What is this
error and why would it be raised?

You sure have a stack trace. That should tell you what goes wrong.

Well. If you try and add an array to a string you will indeed get this
type error.

irb(main):001:0> “” + []
TypeError: no implicit conversion of Array into String
from (irb):1:in +' from (irb):1 from /Users/ohm/.rbenv/versions/2.2.0/bin/irb:11:in
irb(main):002:0>