如何使用 jruby 运行 ferret (acts_as_ferret)?
我有一个现有的项目,它使用“acts_as_ferret”gem。
我安装了它(以及其他必需的 gems)并尝试运行 db-migration 脚本。
我收到以下错误:
gems/rails-2.3.4/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
no such file to load -- ferret
最后:
script/server:4
Missing these required gems:
acts_as_ferret = 0.4.4
当我列出我的宝石时,列出了雪貂的行为。 我认为它与 ferret 有关,我无法安装它,因为我使用 jruby。 (我收到本机扩展错误)
如何解决这个问题?谢谢。
I have an existing project, which uses the "acts_as_ferret" gem.
I installed it (and the other required gems) and tried to run the db-migration script.
I get the following error:
gems/rails-2.3.4/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
no such file to load -- ferret
and at the end:
script/server:4
Missing these required gems:
acts_as_ferret = 0.4.4
when I list my gems, acts as ferret is listed.
I assume it has something to do with ferret, which I am not able to install because I use jruby. (I get a native Extension Error)
How do I solve this problem? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论