Skip to content

Commit 0612272

Browse files
committedJun 26, 2014
Remove cache directories from vagrant NFS sync
1 parent 0449cc1 commit 0612272

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎config/environments/development.rb

+5
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@
1818
# Log the query plan for queries taking more than this (works
1919
# with SQLite, MySQL, and PostgreSQL)
2020
config.active_record.auto_explain_threshold_in_seconds = 0.5
21+
22+
# Move cache dir's out of vagrant NFS directory
23+
config.cache_store = [:file_store,"/tmp/codewall-cache/"]
24+
config.assets.cache_store = [:file_store,"/tmp/codewall-cache/assets/"]
25+
Rails.application.config.sass.cache_location = "/tmp/codewall-cache/sass/"
2126
end

0 commit comments

Comments
 (0)
Please sign in to comment.