Skip to content

Commit 808a934

Browse files
committed
Fix CI: commit spec/dummy/config/database.yml
Global ~/.gitignore_global blanket-ignores database.yml everywhere. Add a local negation in .gitignore so the dummy app's in-memory SQLite config is tracked and CI can boot Rails.
1 parent f7e8692 commit 808a934

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
/gemfiles/*.lock
44
/pkg/
55
/spec/.rspec-results
6+
# Override global ~/.gitignore_global that blanket-ignores database.yml:
7+
# the dummy app's :memory: SQLite config is harmless and required by CI.
8+
!spec/dummy/config/database.yml
69
/spec/dummy/db/*.sqlite3
710
/spec/dummy/log/*.log
811
/spec/dummy/tmp/

spec/dummy/config/database.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
test:
2+
adapter: sqlite3
3+
database: ":memory:"
4+
pool: 5
5+
timeout: 5000

0 commit comments

Comments
 (0)