Efe
09/09/2024, 4:07 PMkdoctor
fails the cocoapods step.
the error I got is suggesting the following stackoverflow answer: https://stackoverflow.com/questions/64901180/how-to-run-cocoapods-on-apple-silicon-m1/66556339#66556339
I have the export PATH="/opt/homebrew/opt/ruby/bin/ruby:$PATH"
line in the .zshrc
file and when I execute the /opt/homebrew/opt/ruby/bin/ruby -v
line I get the correct version.
However, when I execute the which ruby
I get the /usr/bin/ruby
Any suggestion on this?
Thanksephemient
09/09/2024, 4:36 PMephemient
09/09/2024, 4:40 PMeval "$(brew shellenv)"
into your shell config which should set everything upEfe
09/09/2024, 4:49 PMexport PATH="/opt/homebrew/opt/ruby
? tryingephemient
09/09/2024, 4:51 PMEfe
09/09/2024, 4:52 PMexport PATH="/opt/homebrew/opt/ruby/bin:$PATH"
resolved the issue. ❤️ephemient
09/09/2024, 4:52 PM