How to install Nokogiri Gem for Windows

后端 未结 2 1731
北荒
北荒 2020-12-29 00:50

I\'m having this problem with nokogiri\'s gem:

Could not open library \'C:\\Ruby187\\lib\\ruby\\gems\\1.8\\gems\\nokogiri-1.4.6-x86-mingw32\\ext\\nokogiri\\libxml2.d

相关标签:
2条回答
  • 2020-12-29 01:33

    wow, i found the solution, there is a nokogiri for 64bits

    goto rubygems, goto nokogiri gem, and look at the version list!

    https://rubygems.org/gems/nokogiri

    notice the x64-mingw32 and x86-mingw32 version

    took me hours to figure this out... enter image description here

    0 讨论(0)
  • 2020-12-29 01:41

    You need DevKit to compile the gem properly.

    0 讨论(0)
提交回复
热议问题