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
/db/*.sqlite3-[0-9]*
7
/public/system
8
/coverage/
9
/spec/tmp
C
Connor Taffe 已提交
10
*.orig
M
Marcin Ciunelis 已提交
11
rerun.txt
M
Michael Minter 已提交
12
pickle-email-*.html
A
Adrian Rangel 已提交
13

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

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

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

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

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

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

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

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

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

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

# Ignore node_modules
node_modules/

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

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

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