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

前端 未结 6 2043
臣服心动
臣服心动 2020-11-29 00:19

I installed zlib package and ruby 1.9.3 using rvm, but whenever I try to install gems it says cannot load such file -- zlib

The commands I used to insta

6条回答
  •  心在旅途
    2020-11-29 00:46

    rvm pkg install openssl && rvm pkg install zlib && rvm pkg install libyaml &&
      rvm pkg install iconv
    rvm install 1.9.3-p0 --with-opt-dir=$HOME/.rvm/usr \
      --with-libxml2-dir=/usr/local/Cellar/libxml2/2.7.8 \
      --with-readline-dir=/usr/local/Cellar/readline/6.2.1
    

提交回复
热议问题