JRuby

[1.9] Make String#gsub encoding aware for ruby files