Ruby ffi gem issue

戏子无情 提交于 2021-01-06 12:24:57

问题


I installed wpscan - a Ruby programm for finding security issues on Wordpress sites. But when I tried to run it I got the following message:

[ERROR] dlopen(/Library/Ruby/Gems/2.0.0/gems/ffi-1.9.2/lib/ffi_c.bundle, 9): Library not loaded: /Users/headius/.rvm/rubies/ruby-head/lib/libruby.2.1.0.dylib
Referenced from: /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.2/lib/ffi_c.bundle
Reason: image not found - /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.2/lib/ffi_c.bundle

My operating system is OS X Mavericks, but I don't have user with name headius and folder .rvm. I tried to reinstall ffi gem several times but nothing changed. I know that something wrong with ffi_c.bundle but this is a binary file and I don't know how to fix the path to libruby.2.1.0.dylib in it.

So, does anybody know how to fix this issue?


回答1:


This was a bad FFI release (1.9.2) because it accidentally swept up my OS X bundle into the released gem. The 1.9.2 gem has been yanked and 1.9.3 replaces it.



来源:https://stackoverflow.com/questions/19703465/ruby-ffi-gem-issue

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!