07-18-2023, 03:58 PM
Running '`sudo gem list --local`' and '`gem list --local`' give me differing results. My gem path is set to my home folder and only contains the gems from '`gem list --local`'.
It's probably not good to have gems installed in different directories on my computer, so should I have the gem path set differently, and should I always use `sudo` when installing something?
my ~/.profile
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
~/.bash_profile is empty.
It's probably not good to have gems installed in different directories on my computer, so should I have the gem path set differently, and should I always use `sudo` when installing something?
my ~/.profile
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
~/.bash_profile is empty.