Ruby 2.0 中的 Nokogiri [英] Nokogiri in Ruby 2.0

查看:35
本文介绍了Ruby 2.0 中的 Nokogiri的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Ruby 2.0 中 require 'nokogiri' 时,它有一个错误

When I require 'nokogiri' in Ruby 2.0, it has a error

`require': cannot load such file -- nokogiri/2.0/nokogiri (LoadError)

nokogiri 还不支持 Ruby 2.0 吗?我可以在 gem list

Is nokogiri not supporting Ruby 2.0 yet? I can see nokogiri in gem list

推荐答案

Nokogiri 现在支持 Ruby 2.0,即使在 Windows 上,请参阅 这里

Nokogiri now support Ruby 2.0, even on Windows, see HERE

这篇关于Ruby 2.0 中的 Nokogiri的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆