Skip to content

Commit b817358

Browse files
committed
Update devcontainer to use Ruby 4.0.1
1 parent 4c2bb65 commit b817358

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM mcr.microsoft.com/devcontainers/typescript-node:0-20
2+
3+
# Install watchman
4+
RUN apt-get update && apt-get install -y watchman && rm -rf /var/lib/apt/lists/*

.devcontainer/devcontainer.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
{
44
"name": "ruby-lsp",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-20",
6+
"build": {
7+
"dockerfile": "Dockerfile"
8+
},
79
"features": {
810
"ghcr.io/devcontainers/features/github-cli:1": {},
9-
"ghcr.io/devcontainers/features/rust:1": {},
10-
"ghcr.io/devcontainers/features/ruby:1": {}
11+
"ghcr.io/rails/devcontainer/features/ruby": {
12+
"version": "4.0.1"
13+
}
1114
},
12-
"overrideFeatureInstallOrder": ["ghcr.io/devcontainers/features/rust"]
1315

1416
// Features to add to the dev container. More info: https://containers.dev/features.
1517
// "features": {},
@@ -21,7 +23,15 @@
2123
// "postCreateCommand": "yarn install",
2224

2325
// Configure tool-specific properties.
24-
// "customizations": {},
26+
"customizations": {
27+
"vscode": {
28+
"extensions": [
29+
"shopify.ruby-extensions-pack",
30+
"dbaeumer.vscode-eslint",
31+
"streetsidesoftware.code-spell-checker"
32+
]
33+
}
34+
}
2535

2636
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
2737
// "remoteUser": "root"

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0
1+
4.0.1

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ GEM
9292
sorbet (0.5.12230)
9393
sorbet-static (= 0.5.12230)
9494
sorbet-runtime (0.5.12230)
95+
sorbet-static (0.5.12230-aarch64-linux)
9596
sorbet-static (0.5.12230-universal-darwin)
9697
sorbet-static (0.5.12230-x86_64-linux)
9798
sorbet-static-and-runtime (0.5.12230)
@@ -132,6 +133,7 @@ GEM
132133
yard
133134

134135
PLATFORMS
136+
aarch64-linux
135137
arm64-darwin
136138
x64-mingw-ucrt
137139
x86_64-darwin
@@ -200,6 +202,7 @@ CHECKSUMS
200202
ruby2_keywords (0.0.5) sha256=ffd13740c573b7301cf7a2e61fc857b2a8e3d3aff32545d6f8300d8bae10e3ef
201203
sorbet (0.5.12230) sha256=f13c654b498a2ce5dbfd2a87cb4d9311fdf7a8c9e2639abfcd83b685d268e093
202204
sorbet-runtime (0.5.12230) sha256=06cd707492495a66a4a94ba5d4a1da3d74c698328ac0274a072a49980368eba5
205+
sorbet-static (0.5.12230-aarch64-linux) sha256=8186a0979fdc37836c5c823a5dd9b3cab184118bf7067ced66eb72d2586bdec3
203206
sorbet-static (0.5.12230-universal-darwin) sha256=ca632252d853c7523ae0a1a7c806d7518848ee05cf234b65114f6c5295519021
204207
sorbet-static (0.5.12230-x86_64-linux) sha256=5525a2e9e870020ddb668c3ed2dbff1839817015b2482d934aa456182e287266
205208
sorbet-static-and-runtime (0.5.12230) sha256=afea11eddbe145806354f6b4060d7883bf4dcc7015fdd463eb401bdbc9b7be7f

0 commit comments

Comments
 (0)