Updated versioning script to use environment ruby