From 0612272e7dbbafa3b3facba328b1ca14abd39fac Mon Sep 17 00:00:00 2001 From: Anthony Kosednar Date: Thu, 26 Jun 2014 10:16:58 -0700 Subject: [PATCH] Remove cache directories from vagrant NFS sync --- config/environments/development.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 3d2aeb24..62a6cb76 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -18,4 +18,9 @@ # Log the query plan for queries taking more than this (works # with SQLite, MySQL, and PostgreSQL) config.active_record.auto_explain_threshold_in_seconds = 0.5 + + # Move cache dir's out of vagrant NFS directory + config.cache_store = [:file_store,"/tmp/codewall-cache/"] + config.assets.cache_store = [:file_store,"/tmp/codewall-cache/assets/"] + Rails.application.config.sass.cache_location = "/tmp/codewall-cache/sass/" end