macOS comes with pre-installed ruby and its current installed version on my mac is 2.6.3 and I want to update it to 2.7.0
I have tried multiple methods, but I'm not able to update it. Also, rvm isn't installing on my mac.
I have the following things already installed : 1. Xcode CTL 2. Homebrew 3. gcc 4. gnu