1
votes

I have researched this issue yet the answers found (including here on SOF) have not resolved it

Ubuntu noob rails install fails on zlib

cannot load such file -- zlib even after using rvm pkg install zlib

Going to the "rvm site for zlib" and following the directions still does not work for me.

$ gem install redcar

ERROR:  Loading command: install (LoadError)
    cannot load such file -- zlib
ERROR:  While executing gem ... (NameError)
    uninitialized constant Gem::Commands::InstallCommand
1
Do you have the zlib development package installed? I'd guess that it is called zlib-dev or something similar. - mu is too short
yes I have the zlib-dev package (on ubuntu 10.04) - WestCoastProjects

1 Answers

0
votes

please use the "quick fix" from here https://rvm.io/packages/zlib/

you have to ignore the rest of instructions, they are intended for systems that do not support packages (like osx)