Skip to content

Commit 8662998

Browse files
authored
add mise install path for apt installations (#3532)
* add mise install path for `apt` installations * `yarn run format`
1 parent ba44e56 commit 8662998

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

vscode/src/ruby.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ async function detectMise() {
2121
const possiblePaths = [
2222
vscode.Uri.joinPath(vscode.Uri.file(os.homedir()), ".local", "bin", "mise"),
2323
vscode.Uri.joinPath(vscode.Uri.file("/"), "opt", "homebrew", "bin", "mise"),
24+
vscode.Uri.joinPath(vscode.Uri.file("/"), "usr", "bin", "mise"),
2425
];
2526

2627
for (const possiblePath of possiblePaths) {

vscode/src/ruby/mise.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export class Mise extends VersionManager {
4848
//
4949
// 1. Installation from curl | sh (per mise.jdx.dev Getting Started)
5050
// 2. Homebrew M series
51+
// 3. Installation from `apt install mise`
5152
const possiblePaths = [
5253
vscode.Uri.joinPath(
5354
vscode.Uri.file(os.homedir()),
@@ -62,6 +63,7 @@ export class Mise extends VersionManager {
6263
"bin",
6364
"mise",
6465
),
66+
vscode.Uri.joinPath(vscode.Uri.file("/"), "usr", "bin", "mise"),
6567
];
6668

6769
for (const possiblePath of possiblePaths) {

0 commit comments

Comments
 (0)