O passo-a-passo completo
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install asdf
echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ~/.zshrc
source ~/.zshrc
asdf --version
asdf plugin-add ruby
asdf install ruby 3.4.2
asdf global ruby 3.4.2
ruby -v
asdf plugin-add nodejs
asdf install nodejs 22.14.0
asdf global nodejs 22.14.0
node -v
gem install rails
rails -v
npm install --global yarn
yarn -v
rails new todo
cd todo
rails s