From d7e5a7df49c7f1df747550ffcf9941c3d7994839 Mon Sep 17 00:00:00 2001 From: Gang Chen Date: Fri, 22 Nov 2013 15:49:49 +0800 Subject: [PATCH] Move sass cache location out of synced fold To prevent Errno::ETXTBSY when executing sass command. --- rakelib/assets.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/rakelib/assets.rake b/rakelib/assets.rake index 4dc928c828..bbd1f07493 100644 --- a/rakelib/assets.rake +++ b/rakelib/assets.rake @@ -46,6 +46,7 @@ def sass_cmd(watch=false, debug=false) end "sass #{debug ? '' : '--style compressed'} " + + "--cache-location /tmp/sass-cache " + "--load-path #{sass_load_paths.join(' ')} " + "#{watch ? '--watch' : '--update'} -E utf-8 #{sass_watch_paths.join(' ')}" end