Ubuntu rails install fails on zlib

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

    On Debian (Squeeze):

    libruby contains zlib for ruby amongst all the other stuff you'll need to make ruby work properly on Debian. So...

    apt-get install libruby
    

    Then...

    cd /usr/local/src/ruby
    make clean
    make
    make install
    cd ../rubygems
    ruby setup.rb
    gem install rails
    

    This made it work for me, but your mileage may vary. I did to a slight shotgun approach to zlib before finding that everything needed was covered by libruby.

提交回复
热议问题