Ruby 罗盘路径需要修正

Ruby 罗盘路径需要修正,ruby,terminal,yeoman,compass,Ruby,Terminal,Yeoman,Compass,我试着和约曼玩,我试着在脚手架上使用指南针,但当我运行grunt时,终端不断抛出这个错误 Warning: Couldn't find the `compass` binary. Make sure it's installed and in your $PATH Use --force to continue. 我想这可能与我安装指南针的方式有关。我可能安装了两个副本,一个通过RVM,另一个通过另一种方法 有人知道如何修复此错误吗。感谢您的帮助 提前谢谢 我在安装了apt get和rvm版本

我试着和约曼玩,我试着在脚手架上使用指南针,但当我运行
grunt
时,终端不断抛出这个错误

Warning: Couldn't find the `compass` binary. Make sure it's installed and in your $PATH Use --force to continue.
我想这可能与我安装指南针的方式有关。我可能安装了两个副本,一个通过RVM,另一个通过另一种方法

有人知道如何修复此错误吗。感谢您的帮助


提前谢谢

我在安装了apt get和rvm版本的Ubuntu 14.04上遇到了同样的问题。我卸载了ubuntu软件包:

sudo apt-get uninstall ruby-compass
然后,我按照一些说明和步骤重新安装了RVM版本。 基本上:

curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm requirements
rvm install ruby
rvm use ruby --default
rvm rubygems current
gem install sass
gem install compass
然后我重新启动了,它成功了