コンパスのバージョンは 1.0.1 (Polaris) で、sass のバージョンは 3.4.5 です。
私が普通にやると、うまくいきますcompass watch
。私はコードキットを使用するのが大好きで、scss ファイルをコンパイルしたいのですが、そうではなく、気が狂いそうになります。
この嘆願を修正する方法について何らかのアイデアを持っている団体があれば、私に知らせてください. 前もって感謝します。
コンパイルしようとしたときのエラーは次のとおりです。コンパスはプロジェクト内の 1 つ以上のファイルをコンパイルできませんでした:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:245:in mkdir': Permission denied - /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-14 (Errno::EACCES)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:245:in
fu_mkdir' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/ /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:217 からのusr/lib/ruby/2.0.0/fileutils.rb:219:in block (2 levels) in mkdir_p'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:217:in
reverse_each' :in block in mkdir_p'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:203:in
each' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:203:in mkdir_p'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:210:in
write_gem_make_out' from /Library/Ruby/Site/2.0.0 /rubygems/ext/builder.rb:132:/Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:156:/Library/Ruby/Siteの build_extensions のブロック内build_error'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:171:in
のレスキュー内build_extension'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:198:in
/2.0.0/rubygems/ext/builder.rb:195:ineach'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:195:in
/Library/Ruby/Site/2.0.0/rubygems/specification.rb:1436:in use_ui のbuild_extensions' from block in build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/user_interaction.rb:45:in
/Library/Ruby/Site/2.0.0/rubygems/specification.rb:1434:in build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb:60:in
build_extensions from / Library/Ruby/Site/2.0.0/rubygems/basic_specification.rb:56:in contains_requirable_file?'
from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:925:in
block in find_inactive_by_path' from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in each'
from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in
find' from /Library/ Ruby/Site/2.0.0/rubygems/specification.rb:924:in find_inactive_by_path'
from /Library/Ruby/Site/2.0.0/rubygems.rb:185:in
try_activate' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:132:in rescue in require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:144:in
require' from /Library/Ruby/ Gems/2.0.0/gems/compass-1.0.1/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:2:in <top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require .rb:55:でrequire'
from /Library/Ruby/Gems/2.0.0/gems/compass-1.0.1/lib/compass/sass_extensions/sprites/engines.rb:25:in
' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /Library/Ruby/Gems/2.0.0/gems/compass-1.0.1/lib/compass/ sass_extensions/sprites.rb:20:in <top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /Library/Ruby/Gems/2.0.0/gems/compass-1.0.1/lib/compass/sass_extensions.rb:9:in
' from /Library/Ruby/Site/2.0.0/rubygems/core_ext /kernel_require.rb:55:in require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /Library/Ruby/Gems/2.0.0/gems/compass-1.0.1/lib/compass.rb:14:in each block in <top (required)>'
from /Library/Ruby/Gems/2.0.0/gems/compass-1.0.1/lib/compass.rb:13:in
' from /Library/Ruby/Gems/2.0 .0/gems/compass-1.0.1/lib/compass.rb:13: <top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:135:in
require から/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:135:requirerescue in require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:144:in
で /Applications から/CodeKit.app/Contents/Resources/engines/compass/compass/bin/compass:41:inblock in <main>'
from /Applications/CodeKit.app/Contents/Resources/engines/compass/compass/bin/compass:29:in
/Applications/CodeKit.app/Contents/Resources/engines/compass/compass/bin/compass:40:in `' からの fallback_load_path'