在 WIndows 10 和 ruby 版本 2.5.0-1 上安装 SASS 时出错

Error on installing SASS on WIndows 10 and ruby version 2.5.0-1

我尝试使用 Ruby version 2.5.0-1 在 Windows 10 中安装 Sass,但出现以下错误:

ERROR: Error installing sass: The last version of ffi (< 2, >= 0.5.0) to support your Ruby & RubyGems was 1.9.18. Try installing it with gem install ffi -v 1.9.18 and then running the current command again ffi requires Ruby version < 2.5, >= 2.0. The current ruby version is 2.5.0.

Windows 10 Ruby 安装程序 - 2.5.0-1(64 位) Gem 版本 - 2.7.3

提前致谢。

ffi 尚不支持 2.5。降级到 2.4。

来源: