Either remove the system or remove the backticks:
a = "hello"
#=> "hello"
`say '#{a}'`
#=> ""
system("say '#{a}'")
#=> true
Since you edited your post to be single quotes instead of backticks, single quotes cannot support string interpolation, see this question for more details.