mechanize:找不到指定的模块(unf_ext.so)
我正在尝试用 Mechanize 做一些事情,但我没有超越最基本的示例:
require 'rubygems'
require 'mechanize'
agent = Mechanize.new
看起来很简单,但我得到的只是这个错误:
:/Ruby193/lib/ruby/1.9.1/rubygems/ custom_require.rb:36:在“要求”中:126: 找不到指定的模块。
- D:/Ruby193/lib/ruby/gems/1.9.1/gems/unf_ext-0.0.3/lib/unf_ext.so (LoadError)
我尝试过的事情:
- 直接安装 gem unf_ext (有效,相同)虽然有错误结果)
- bundle installbundle
- update
有一个 Mechanize 邮件列表,但它的活动似乎非常低。我想我实际上可能会在这里得到我的问题的答案。
我的环境是带有 RubyMine 的 Windows 7。
更新:这是 Devise 中的一个错误,团队目前 (2011-12-07) 正在处理。
I'm trying to do something with Mechanize and I'm not getting past the most basic example:
require 'rubygems'
require 'mechanize'
agent = Mechanize.new
Seems simple enough, but all I get is this error:
:/Ruby193/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in 'require': 126:
The specified module could not be found.
- D:/Ruby193/lib/ruby/gems/1.9.1/gems/unf_ext-0.0.3/lib/unf_ext.so (LoadError)
Things I've tried:
- installing gem unf_ext directly (works, same error result though)
- bundle install
- bundle update
There is a Mechanize mailing list but it seems to have very low activity. I think I might actually get my question answered here on SO.
My environment is Windows 7 with RubyMine.
Update: this is a bug in Devise that the team is currently (2011-12-07) working on.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论