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

前端 未结 6 2016
臣服心动
臣服心动 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:26

    The both other responses were almost right...

    The rvm site for zlib provides a quick fix!

    On the top off the page is a "Quick fix" follow it's instructions, it will:

    • fix your installation,
    • provide you instructions what to do to install zlib from your system
    • and show how to reinstall ruby

提交回复
热议问题