Run System Commands in Ruby – When to use which methods to run shell commands