Commit 8af7f0b
ide-coder
fix: resolve rbenv shims permission and user gem PATH issues
- Grant coder user write permission to /opt/rbenv/shims directory
- Grant coder user ownership of /opt/rbenv/version file
- Add user gem bin directory to PATH in bashrc template
- Initialize user gem bin directory in init-home.sh
Fixes:
- 'rbenv: cannot rehash: /opt/rbenv/shims isn't writable'
- 'You don't have .../.local/share/gem/ruby/3.4.0/bin in your PATH'1 parent b31c799 commit 8af7f0b
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
| |||
229 | 232 | | |
230 | 233 | | |
231 | 234 | | |
232 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
233 | 238 | | |
234 | 239 | | |
235 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments