Ruby – User RVM for Ruby installation and use ruby version greater than 3 for better performance.
Mysql:
Install via official site https://dev.mysql.com/downloads/mysql/
use youtube link how to install mysql here.
Add below line in ~/.bash_profile file :
export PATH=${PATH}:/usr/local/mysql-8.0.33-macos13-arm64/bin
where you may have to change mysql version in the path ie. mysql-8.0.33-macos13-arm64 to your mysql bin path.
It took more than 24 hours to solve this problem so I posted it in my blog here.
Thanks & Regards,
Manish Shrivastava