After a recent reinstallation of Ubuntu, I reinstalled RubyGems. The Ubuntu repository grabbed version 1.3.5. Later I found I need the latest version. So I installed the RubyGems update to get to version 1.3.7.
The trouble is, upon upgrading gem list
returns only a small subset of all my originally installed gems. In the past, I've solved this by reinstalling all my gems following an upgrade, but this is troublesome and I hope to avoid this workaround now and in the future.
I tried adding an export GEM_HOME
to my .bashrc
file. It didn't work. gem list
still doesn't list all my gems (even though I can find them on my computer in /var/lib/gems/1.8/gems
. I also created a .gemrc
yaml file and set the gemhome
path. When I run gem env
I can see that the home path is set, but still gem list
doesn't return everything.
What's up with this?