I installed rubygems 1.3.7, then decided to upgrade from ruby1.8 to
I forgot to uninstall rubygems before installing ruby1.9.2, as I didn’t
realise gems came with it.
Now I want to install some gems, but when I run ‘gem install rails’ I
get the following error.
ERROR: Loading command: install (LoadError)
no such file to load – zlib
ERROR: While executing gem … (NameError)
uninitialized constant Gem::Commands::InstallCommand
Can I repare 'gems? If not should I remove ruby1.9.2, rubygems1.3.7 and
It may be worth mentioning that I built these packages on Debian Lenny
from source, and they are not in the database used by ‘apt’ etc.
I have tried removing all traces of Ruby and rubygems from the system,
then rebuilding and installing ruby1.9.2