开发者

XML fetching and parsing solution/library that works with Ruby 1.9.1 on Rails 3

开发者_运维问答Does anyone know of a library that works with Ruby 1.9.1 on Rails 3 yet?

Thanks, Nick


Nokogiri (parsing) and Typhoeus (fetching) are compatible. Also, I've just updated Feedzirra to be Rails 3 compatible. Version 0.0.22.

nokigiri typhoeus feedzirra


The problem shouldn't be from rails as it's a generic library, which can work with rails or without it.
However if you look at the readme, in the section "next steps", you'll see :

Test against Ruby 1.9.1 and fix any bugs.

The library hasn't been tester with Ruby 1.9.1. So the problem should come from there.
If it's not compatible with Ruby 1.9.1, you only have two solutions :

  • Track the errors and fix them (if possible without breaking the library on 1.8).
  • Find an other library compatible with 1.9.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜