Fix ruby 2.1 string issue.

You can't have expressions right on the tail of a string anymore because of string suffixes: https://bugs.ruby-lang.org/issues/8579