Skip to content

Commit

Permalink
Don't ignore tmp and log directory (github#2999)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
okuramasafumi authored and shiftkey committed Mar 14, 2019
1 parent bbd09f3 commit 1a417fe
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Rails.gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
*.rbc
capybara-*.html
.rspec
/log
/tmp
/db/*.sqlite3
/db/*.sqlite3-journal
/public/system
Expand All @@ -12,6 +10,12 @@ capybara-*.html
rerun.txt
pickle-email-*.html

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
config/master.key
Expand Down Expand Up @@ -59,4 +63,4 @@ yarn-debug.log*

# Ignore uploaded files in development
/storage/*
!/storage/.keep
!/storage/.keep

0 comments on commit 1a417fe

Please sign in to comment.