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?

有帮助吗?

解决方案

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>

其他提示

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

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.

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top