Mac用戶,請參閱: Mac user and getting WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.7.3在Linux上,我該如何解決警告:Nokogiri是針對LibXML 2.8.0版構建的,但是已經動態加載了2.9.0?
我使用Linux操作系統(openSUSE的12.3)和運行引入nokogiri -v顯示:
WARNING: Nokogiri was built against LibXML version 2.8.0, but dynamically loaded 2.9.0
# Nokogiri (1.6.0)
---
warnings:
- Nokogiri was built against LibXML version 2.8.0, but dynamically loaded 2.9.0
nokogiri: 1.6.0
ruby:
version: 2.0.0
platform: x86_64-linux
description: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
engine: ruby
libxml:
binding: extension
source: packaged
libxml2_path: /home/william/.rvm/gems/ruby-2.0.0-p247/gems/nokogiri-1.6.0/ports/x86_64-suse-linux/libxml2/2.8.0
libxslt_path: /home/william/.rvm/gems/ruby-2.0.0-p247/gems/nokogiri-1.6.0/ports/x86_64-suse-linux/libxslt/1.1.26
compiled: 2.8.0
loaded: 2.9.0
你應該澄清問一個具體的問題。現在,讀者可以推斷出你要問什麼。 –
@ChrisHeald更新了,我想刪除這個警告信息,感謝提醒我 –