本文介绍了错误:"指南针:DIST"致命错误:产卵的/ usr / bin中/指南针ENOENT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我生成构建我的应用程序的呼噜声,它使用指南针。
我设置一些变量:

Guys, I'm generating build my application with the grunt, it uses the compass.I set some variables:

export GEM_PATH =/usr/local/rvm/gems/ruby-2.1.2:/usr/local/rvm/gems/ruby-2.1.2@global
export PATH=$PATH:/usr/local/rvm/gems/ruby-2.1.2/bin
export PATH=$PATH:/usr/local/rvm/rubies/ruby-2.1.2/bin;
export PATH=$PATH:$GEM_PATH;
export PATH=$PATH:node_modules/grunt-cli/bin;

和执行构建咕噜。
以下致命的错误是:

and perform the build grunt.The following Fatal error is :

4mRunning指南针:DIST(指南针)任务[24米
31mFatal错误:产卵的/ usr / bin中/指南针ENOENT [39米

4mRunning "compass:dist" (compass) task[24m31mFatal error: spawn /usr/bin/compass ENOENT[39m

有人能帮助我解决这个问题?

Could someone help me with this problem?

感谢

推荐答案

我已经更新到EL资本后出现这个问题。

I have had this issue after updating to EL Capital.

以下线程已经取得了积极成果。由于我不确定您当地的环境,这里的链接,这样你可以通过几个解决方案:

The following thread has yielded positive results. As I am unsure about your local environment, here's the link so that you can go through a few solutions:https://github.com/sass/sass/issues/1768

下面就是解决这对我来说:

Here's what solved it for me:

brew install ruby
sudo gem install -n /usr/local/bin compass

这篇关于错误:"指南针:DIST"致命错误:产卵的/ usr / bin中/指南针ENOENT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-06 07:37