Rails.gitignore 1.3 KB
Newer Older
Y
Yaroslav Markin 已提交
1
*.rbc
2 3
capybara-*.html
.rspec
4
/db/*.sqlite3
R
renhx 已提交
5
/db/*.sqlite3-journal
6
/public/system
7
/coverage/
8
/spec/tmp
C
Connor Taffe 已提交
9
*.orig
M
Marcin Ciunelis 已提交
10
rerun.txt
M
Michael Minter 已提交
11
pickle-email-*.html
A
Adrian Rangel 已提交
12

13 14 15 16 17 18
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

S
Steve Hull 已提交
19
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
A
Aldo Román Nureña 已提交
20
config/initializers/secret_token.rb
21
config/master.key
S
Steve Hull 已提交
22 23 24

# Only include if you have production secrets in this file, which is no longer a Rails default
# config/secrets.yml
M
Max Woolf 已提交
25 26 27

# dotenv
# TODO Comment out this rule if environment variables can be committed
M
Max Woolf 已提交
28
.env
29

J
Justas Brazauskas 已提交
30
## Environment normalization:
31 32 33
/.bundle
/vendor/bundle

J
Justas Brazauskas 已提交
34
# these should all be checked in to normalize the environment:
C
Carl Suster 已提交
35
# Gemfile.lock, .ruby-version, .ruby-gemset
36 37 38

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
39 40 41 42 43

# if using bower-rails ignore default bower_components path bower.json files
/vendor/assets/bower_components
*.bowerrc
bower.json
44

W
Wafiq Rodzuan 已提交
45
# Ignore pow environment settings
46
.powenv
P
pisaacs 已提交
47 48 49

# Ignore Byebug command history file.
.byebug_history
S
Stefan 已提交
50 51 52 53

# Ignore node_modules
node_modules/

54 55 56
# Ignore precompiled javascript packs
/public/packs
/public/packs-test
57
/public/assets
58 59 60 61 62 63 64 65

# Ignore yarn files
/yarn-error.log
yarn-debug.log*
.yarn-integrity

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