Mac Sequoia: Rails installs but command line does not see it
I followed the directions but errors running the mise global command: gorails.com/setup/macos/15-sequoia
Now, with this setup the command line sees ruby and gem.
export PATH="/opt/homebrew/opt/ruby@3.2/bin:$PATH"
export PATH="/opt/homebrew/bin:$PATH"
rails is over here
export PATH="/opt/homebrew/lib/ruby/gems/3.2.0/bin"
but if I activate that line is screws up my command line for ruby, and other things. How do get the command line to see rails?
Adding these exports will use Homebrew's Ruby and you don't want to use Homebrew's Ruby. You want to use Mise as we show in the guide.
After you follow the instructions in the guide, you may need to restart your terminal for it to detect the Rails command.