How to use nokogiri from Jruby on Windows?

前端 未结 3 1686
温柔的废话
温柔的废话 2021-01-25 04:12

I\'m getting the following error when trying to use Nokogiri with Jruby on Windows 7

D:\\code\\h4>jruby -e \"require \'rubygems\'; require \'nokogiri\'\"
D:/j         


        
3条回答
  •  面向向阳花
    2021-01-25 04:54

    There is now a pure Java version that can run on Windows as well.

    gem install nokogiri --pre
    

    Found here

    https://github.com/tenderlove/nokogiri/wiki/pure-java-nokogiri-for-jruby
    

提交回复
热议问题