Ubuntu rails install fails on zlib

前端 未结 13 2060
没有蜡笔的小新
没有蜡笔的小新 2020-12-12 11:09

I\'ve just moved over to Ubuntu 8.10 as my dev box; it\'s my first serious foray into Linux as a daily-use OS, and I\'m having a hard time getting Rails going. I have follo

13条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 11:47

    If you come across this question trying to install Ruby using Ruby Version Manager (RVM) on Ubuntu 10.04 then there are instructions on installing zlib on the rvm web site http://rvm.beginrescueend.com/packages/zlib/

    The steps are:

    rvm pkg install zlib
    

    (or rvm package install zlib if you get "ERROR: Unrecognized command line argument: 'pkg'" - older versions of rvm used the verb 'package' instead)

    then

    rvm remove 1.9.1
    rvm install 1.9.1
    

提交回复
热议问题