使用 gem 安装了指南针,但仍然收到 "grunt serve" 中未找到的错误

Installed compass with gem but still getting error not found in "grunt serve"

我使用 sudo gem install compass 安装了指南针,但是当我 运行 grunt serve 我得到了错误:

Warning: not found: compass Use --force to continue.

Aborted due to warnings.

知道为什么这不起作用吗?如何正确安装指南针?

我正在使用 openSUSE LEAP (KDE)

必须直接从 RPM 安装 RubyGem-Compass:

http://software.opensuse.org/package/ruby2.1-rubygem-compass

sudo zypper install ruby2.1-rubygem-compass-1.0.1-10.1.x86_64.rpm