Ask A Question

Notifications

You’re not receiving notifications from this thread.

Mac Sequoia: Rails installs but command line does not see it

sandraqu asked in Rails

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?

Reply

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.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,796+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.