Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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).

like image 946
Asaad Mahmood Avatar asked Dec 11 '25 15:12

Asaad Mahmood


2 Answers

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' }

like image 134
Julien Menichini Avatar answered Dec 13 '25 13:12

Julien Menichini


/.sass-cache would be a Sass cache directory at the root of your file system. It should not be trying to create that directory there.

However this Ruby is getting run, it's not running with the right working directory, or needs to be passed a base path to run in.

like image 33
Max Avatar answered Dec 13 '25 13:12

Max



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!