Bundle install fails to install libxml-ruby

前端 未结 4 2209
礼貌的吻别
礼貌的吻别 2021-02-20 09:50

I\'m a new to Ruby world and I need to clone an existing project.

The instructions are:

source .env.development
bundle install

But it f

4条回答
  •  借酒劲吻你
    2021-02-20 10:28

    It solved for me in mac by running

    gem install libxml-ruby -v '3.0.0' -- --with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config --with-xml2-dir=/usr/local/opt/libxml2 --with-xml2-lib=/usr/local/opt/libxml2/lib --with-xml2-include=/usr/local/opt/libxml2/include

提交回复
热议问题