开发者_运维问答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.
精彩评论