Added option to give path to ruby.