Skip to content

Commit 92217c8

Browse files
committed
Add node and rbenv setup
1 parent 4cb004e commit 92217c8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@
3838
"DOCKER": "true"
3939
},
4040

41-
"postCreateCommand": ".devcontainer/post-create.sh"
41+
"postCreateCommand": "bash -i .devcontainer/post-create.sh"
4242
}

.devcontainer/post-create.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ if [ "$RUBY_VERSION" != "3.2.2" ]; then
1111
echo "Ruby $RUBY_VERSION installed"
1212
fi
1313

14+
nvm install node
15+
rbenv init bash
16+
rbenv init zsh
17+
1418
bin/setup

0 commit comments

Comments
 (0)