Fix string to use Ruby variables