Bundle install fails to install libxml-ruby

前端 未结 4 2290
礼貌的吻别
礼貌的吻别 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:37

    These steps worked for me (source)

    brew install libxml2
    bundle config --global build.libxml-ruby --with-xml2-config="$(brew --prefix libxml2)/bin/xml2-config"
    

    then bundle install worked as expected

提交回复
热议问题