has anyone tried installing ruby & rubygems from source on Ubuntu (preferably Ubuntu 9)?

前端 未结 3 1729
半阙折子戏
半阙折子戏 2021-01-14 16:09

The Ruby on Rails website recommends installing Ruby from source under Linux. I encountered a number of C library problems building ruby from source on a clean install of Ub

3条回答
  •  心在旅途
    2021-01-14 16:55

    Did you install libzlib-ruby? Here's my typical Ubuntu initialization before installing Rubygems:

    $ apt-get update
    $ apt-get dist-upgrade
    $ apt-get install build-essential -y
    $ apt-get install rsync -y
    $ apt-get install ruby ri rdoc irb ri1.8 ruby1.8-dev libzlib-ruby zlib1g libopenssl-ruby -y
    

提交回复
热议问题