Skip to content

Commit cc4bdaa

Browse files
committed
Adapt .gitignore for a Ruby on Rails app
1 parent 5ea06f0 commit cc4bdaa

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

.gitignore

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
# or operating system, you probably want to add a global ignore instead:
55
# git config --global core.excludesfile '~/.gitignore_global'
66

7-
# Ignore bundler config.
8-
/.bundle
9-
107
# Ignore the default SQLite database.
118
/db/*.sqlite3
129
/db/*.sqlite3-journal
@@ -15,3 +12,39 @@
1512
/log/*
1613
!/log/.keep
1714
/tmp
15+
*.rbc
16+
17+
capybara-*.html
18+
.rspec
19+
/log
20+
/tmp
21+
/db/*.sqlite3
22+
/db/*.sqlite3-journal
23+
/public/system
24+
/coverage/
25+
/spec/tmp
26+
**.orig
27+
rerun.txt
28+
pickle-email-*.html
29+
30+
# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
31+
config/initializers/secret_token.rb
32+
config/secrets.yml
33+
34+
## Environment normalization:
35+
/.bundle
36+
/vendor/bundle
37+
38+
# these should all be checked in to normalize the environment:
39+
# Gemfile.lock, .ruby-version, .ruby-gemset
40+
41+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
42+
.rvmrc
43+
44+
# if using bower-rails ignore default bower_components path bower.json files
45+
/vendor/assets/bower_components
46+
*.bowerrc
47+
bower.json
48+
49+
# Ignore pow environment settings
50+
.powenv

0 commit comments

Comments
 (0)