Skip to content

Commit 7553aa9

Browse files
Add Bundler config and .gitignore for local gem installation (#59)
- Add .bundle/config to set local vendor/bundle path by default - Add .gitignore to exclude vendor/bundle/ and other common files - This ensures 'bundle install' works without sudo on all systems - Gems install to project-local directory instead of system location Benefits: - No permission issues when running bundle install - Each developer gets isolated gem environment - Consistent setup across all development machines - Avoids conflicts with system Ruby gems Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent fb980e5 commit 7553aa9

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.bundle/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
BUNDLE_PATH: "vendor/bundle"

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Bundler
2+
vendor/bundle/
3+
.bundle/config.local
4+
5+
# macOS
6+
.DS_Store
7+
8+
# Editor files
9+
.vscode/
10+
*.swp
11+
*.swo
12+
*~
13+
14+
# Test coverage
15+
coverage/

0 commit comments

Comments
 (0)