Fix #2892: "rake travis" fails with can't modify frozen String

Make an unfrozen copy of RUBY_VERSION so that rubygems version can
strip! it.
Merge pull request #2913 from porridge/fix-coveralls

Fix #2892: "rake travis" fails with can't modify frozen String