Ubuntu rails install fails on zlib

前端 未结 13 2109
没有蜡笔的小新
没有蜡笔的小新 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:55

    I am using Ubuntu 10.04 (Lucid), i wanted to install ruby 1.9.2 because 1.9.1 is not recommended with Rails. So I downloaded the source for 1.9.2 and unzipped/unarchived it. my source distro is ruby-1.9.2-p0. After I unpacked it, I built zlib as follows:

    cd ruby-1.9.2-p0/ext/zlib
    ruby extconf.rb
    make
    sudo make install
    sudo gem install rails
    

    that fixed the problem. This is similar to what other people posted above, but not exactly, so I figured I may as well post exactly what I did to get it going.

提交回复
热议问题