我已经研究过这个问题但是找到的答案(包括这里的SOF)还没有解决它
Ubuntu noob rails install fails on zlib
cannot load such file -- zlib even after using rvm pkg install zlib
转到“rlm网站获取zlib”并按照指示仍然不适合我。
$ gem install redcar
ERROR: Loading command: install (LoadError)
cannot load such file -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand