Configure ruby versions for builds