背景
在使用Susy gem开发网站时,使用当前设置没有任何问题。然后突然间我得到了这个错误。在将Git分支合并到我的主分支之后我注意到了它,但我不认为会这样做,是吗?尝试了一切,包括卸载/重新安装Compass,Sass,还尝试过--pre版本。我是一个菜鸟。即使我尝试搜索,我也不知道--trace结果显示了什么。
指南针 - 版本1.0.3
Sass - 版本3.4.13
Ruby - ruby 2.2.2p95(2015-04-13修订版50295)
使用Linux(Arch)机器我的路径:
PATH =" $(ruby -e' print Gem.user_dir')/ bin:$ PATH"
运行罗盘手表抛出错误:
Errno :: EACCES / [/#34; 375"] /home/directory/.gem/ruby/2.2.0/gems/sass-3.4.13/lib/sass/plugin/compiler.rb:权限否认@ unlink_internal - /srv/http/directory/site/templates/css/style.css
目录权限:
.gem目录 - drwxrwxrwx
.SCSS文件是chmod 777
"罗盘手表 - 追踪"结果
/home/directory/.gem/ruby/2.2.0/gems/sass-3.4.13/lib/sass/plugin/compiler.rb:375:in `block in clean'
/home/directory/.gem/ruby/2.2.0/gems/sass-3.4.13/lib/sass/plugin/compiler.rb:372:in `each'
/home/directory/.gem/ruby/2.2.0/gems/sass-3.4.13/lib/sass/plugin/compiler.rb:372:in `clean'
/home/directory/.gem/ruby/2.2.0/gems/compass-1.0.3/lib/compass/sass_compiler.rb:58:in `clean!'
/home/directory/.gem/ruby/2.2.0/gems/compass-1.0.3/lib/compass/commands/update_project.rb:66:in `prepare_project!'
/home/directory/.gem/ruby/2.2.0/gems/compass-1.0.3/lib/compass/commands/watch_project.rb:38:in `perform'
/home/directory/.gem/ruby/2.2.0/gems/compass-1.0.3/lib/compass/commands/base.rb:18:in `execute'
/home/directory/.gem/ruby/2.2.0/gems/compass-1.0.3/lib/compass/commands/project_base.rb:19:in `execute'
/home/directory/.gem/ruby/2.2.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
/home/directory/.gem/ruby/2.2.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:15:in `run!'
/home/directory/.gem/ruby/2.2.0/gems/compass-1.0.3/bin/compass:30:in `block in <top (required)>'
/home/directory/.gem/ruby/2.2.0/gems/compass-1.0.3/bin/compass:44:in `call'
/home/directory/.gem/ruby/2.2.0/gems/compass-1.0.3/bin/compass:44:in `<top (required)>'
/home/directory/.gem/ruby/2.2.0/bin/compass:23:in `load'
/home/directory/.gem/ruby/2.2.0/bin/compass:23:in `<main>'
&#13;
感谢您提供的任何帮助!