Preso em loop infinito no terminal do Mac após source ~/.bashrc

If you can’t find .bashrc . . . wait. You don’t need to source .bashrc since it gets run when you log in.

I recommend that you punt on that and use Beginners Guide to Install Discourse for Development using Docker.