RVM Ruby 1.9.1 install can't locate zlib but its runtime and dev library are there

后端 未结 8 860
悲&欢浪女
悲&欢浪女 2020-12-07 13:12

Trying to get Ruby 1.9.1 up and running with RVM on a fresh install (fedora).

After doing rvm install 1.9.1, the rubygems error logs show that zlib can

8条回答
  •  遥遥无期
    2020-12-07 13:54

    On the latest Ubuntu (11.10) there is also an issue with readline.

    Readline was unable to be required, if you need completion or history install readline then reinstall ruby.

    So my entire rvm and latest ruby install process for ubunutu 11.10 was:

    # install rvm
    sudo apt-get install curl
    curl -L get.rvm.io | bash -s stable
    
    # install dependencies
    rvm pkg install zlib
    rvm pkg install readline
    
    # install additional dependencies -- follow instructions for your distribution/version
    rvm requirements
    
    # install ruby
    rvm install [ruby-version]
    

    I'm posting this for my future reference and in case anyone else bumps into this issue as well.

提交回复
热议问题