Navigation Menu

Skip to content

Commit

Permalink
Preserve the log directory in the repo
Browse files Browse the repository at this point in the history
The sidekiq worker won't boot without the log directory existing:

    worker.1 | No such file or directory @ rb_sysopen - ./log/sidekiq.json.log

...so keep the directory in the repo.

This gitignore syntax means that it will ignore everything in the log
directory except the .gitkeep file, so the directory itself will be
kept.
  • Loading branch information
jennyd committed Mar 4, 2015
1 parent 73b649c commit 6166ec0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,2 +1,3 @@
tmp
log
/log/*
!/log/.gitkeep
Empty file added log/.gitkeep
Empty file.

0 comments on commit 6166ec0

Please sign in to comment.