Problems when creating Compass project (EACCES on line [“891”])

烈酒焚心 提交于 2019-12-22 03:35:09

问题


I am having problems when creating a new compass project (Windows 7). I get this:

C:\>compass create a
   create config.rb
Errno::EACCES on line ["891"] of C: Permission denied - (C:/a/config.rb20140321-6828-1g0ytlc, C:/a/config.rb)
Run with --trace to see the full backtrace

I have tried to start cmd with "Run as administrator", I have tried to delete compass, sass and ruby, and reinstalled without any luck. Anyone else having problems or know a solution to this irritating problem?


回答1:


I was using the latest version (21.03.2014) of compass v.0.12.4... Downgraded to v.0.12.2 everything worked fine!

Looks like a bug?

To downgrade:

$ gem uninstall compass 
$ gem uninstall sass 
$ gem install compass -v 0.12.2 
$ gem install sass -v <rev>



回答2:


Please update to Sass 3.2.18 and let me know if that fixes it.




回答3:


Is this linked to

Compass/Sass writing files with "No Access" permissions for Everyone group on OSX?

If so, updating to 3.2.18 hasn't made a difference.




回答4:


This has been resolved in Compass version 0.12.5
https://github.com/chriseppstein/compass/issues/1618



来源:https://stackoverflow.com/questions/22559284/problems-when-creating-compass-project-eacces-on-line-891

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