Enable execution of interpolated shell commands

at least for ruby >= 1.9
Disable interpolated shell commands for Ruby <= 1.8.7