Cannot Install gem ffi - Windows 7 64bit

寵の児 提交于 2019-12-24 07:57:58

问题


I am new to learning Cucumber/Ruby.

I have tried to install the gem 'ffi' however when I do so from the console I get the following message:

Error installing ffi: The last version of ffi (>= 0) to support your Ruby & RubyGems nstalling it with gem install ffi -v 1.9.18 ffi requires Ruby version < 2.5, >= 2.0. The current ruby version 2.5.0.


回答1:


There is an open pull request to update ffi for Ruby 2.5. You will need to wait for this update, roll back to ruby Ruby <= 2.4.x, or try to install the branch from that pull request.




回答2:


After a long research I finally found an answer that worked for me :)

gem install ffi -f


来源:https://stackoverflow.com/questions/48171022/cannot-install-gem-ffi-windows-7-64bit

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