I've decided to start fresh with ubuntu 10.10.
I started with installing git and then installing rvm from the git repo. everything worked
fine and I compiled and install ruby 1.8.7 and ruby 1.9.2
the gem is also installed and I run gem -v
but when run gem list or gem install rake I get the following error
ERROR: Loading command: list (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::ListCommand
any idea how to solve this issue?
I also tried sudo apt-get install zlib1g zlib1g-dev build-essential libpq-dev
with no luck