Using another separator brings no syntax error, eg. `sh %Q|ruby -i -pe '$_.gsub! /^ruby/, "#ruby"' Gemfile|`