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
The rostral ventromedial medulla (RVM), or ventromedial nucleus of the spinal cord, is a group of neurons located close to the midline on the floor of the medulla oblongata (myelencephalon).
RVM supports most UNIX like systems and Windows (with Cygwin or Bash on Ubuntu on Windows). The basic requirements are bash , curl , gpg2 and overall GNU version of tools - but RVM tries to autodetect it and install anything that is needed.
When using rvm you can simple do steps that are shown here: link text
$ rvm pkg install zlib
(or, older format, rvm package install zlib
)
$ rvm remove 1.9.2
$ rvm install 1.9.2 --with-zlib-dir=~/.rvm/usr
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With