I am now follow the following tutorial (https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-22-04) to install ruby 2.5.7 by rbenv. When I user the following command rbenv install 2.5.7 -v. It keep suck on checking if fork works with pthread... How can I solve it?
I am using orbstack on mac m2 and the version of linux in orbstack is 22.04 TLS