Skip to content

Commit 1a417fe

Browse files
okuramasafumishiftkey
authored andcommitted
Don't ignore tmp and log directory (#2999)
https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/ Rails `5.2.2.1` requires `tmp` directory committed to git repository for CI to run successfully.
1 parent bbd09f3 commit 1a417fe

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Rails.gitignore

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
*.rbc
22
capybara-*.html
33
.rspec
4-
/log
5-
/tmp
64
/db/*.sqlite3
75
/db/*.sqlite3-journal
86
/public/system
@@ -12,6 +10,12 @@ capybara-*.html
1210
rerun.txt
1311
pickle-email-*.html
1412

13+
# Ignore all logfiles and tempfiles.
14+
/log/*
15+
/tmp/*
16+
!/log/.keep
17+
!/tmp/.keep
18+
1519
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
1620
config/initializers/secret_token.rb
1721
config/master.key
@@ -59,4 +63,4 @@ yarn-debug.log*
5963

6064
# Ignore uploaded files in development
6165
/storage/*
62-
!/storage/.keep
66+
!/storage/.keep

0 commit comments

Comments
 (0)