fixed case condition for installing ruby version or php version