rubysasspermissionscompass-sasscodekit

Codekit file permission issues (Read-only file system @ dir_s_mkdir - /.sass-cache)


Getting the following error:

Compiling failed with this error: Errno::EROFS on line ["239"] of /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb: Read-only file system @ dir_s_mkdir - /.sass-cache
Run with --trace to see the full backtrace

Really painful, any help would be appreciated.

Happened after my update to Mac OS Catalina. Currently on 10.15.1 (19B88).


Solution

  • Ruby Sass is deprecated. In Codekit 3 you should use libsass compiler instead. Libsass is not available if you use Compass. If so, you can set the cache location path in the config.rb:

    sass_options = { :cache_location => '/tmp/sass_cache' }