Mixing Ruby/Bash... its ugly.