Mac user and getting WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.7.3

前端 未结 16 1618
暖寄归人
暖寄归人 2020-11-27 11:24

I have done all kinds of research and tried many different things. I know this question has been answered many times, but none of the suggested solutions are working for me.

16条回答
  •  隐瞒了意图╮
    2020-11-27 11:56

    I actually had 2 versions of libxml installed, one from source, one from an RPM.

    The following is my complete solution

    I uninstalled source (from the source directory)

    sudo make uninstall
    

    Remove bundles

    rm -rf ~/.bundle ~/.bundler
    

    Updated LD (might have to do this as root, not sudo)

    sudo ldconfig
    

    Then reinstalled the bundle

    bundle install
    

提交回复
热议问题