Closed neilpanchal closed 6 years ago
I found an obvious problem, compiled gems were not in the PATH. I added the following lines to my .bash_profile:
export GEM_HOME=~/.gem
export GEM_PATH=~/.gem
export PATH=$PATH:$HOME/.gem/bin
Closing the issue.
I was having the same issue and I tried your answer and it worked in so far as I was able to use diversion, but now pod install
doesn't work for me.
I had to install ruby with home-brew in order to successfully run gem install xcode-install
. Do you think that this, in combination with your suggestion could be the cause of my problems?
I am facing same issue even after updating bash profile.
@SwatiMaheshwari nowadays modern macOS defaults to zsh instead of bash, so you have to update your ~/.zshrc
instead of your bash profile file.
I have the gem installed
Gem environment shows:
How come xcversion is not found?