Fixed local using ruby instead of crazy one-liner bash script