Updated the script to install ruby