ruby binomial added to bash