Error - “gem install rails” - libxml2 is missing

后端 未结 8 1905
滥情空心
滥情空心 2021-01-05 02:14

I\'ve been working through the Rails install instructions (http://railsapps.github.io/installrubyonrails-mac.html) and everything was okay up until I got to gem instal

8条回答
  •  长发绾君心
    2021-01-05 03:04

    I had the same issue, on Debian it seemed only a problem of missing 'dev' libraries, probably needed to compile sources during installation (I'm guessing). I solved it by installing (via apt-get or aptitude) the following packages:

    • Libxml2-dev
    • Libxslt1-dev

提交回复
热议问题