Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ In order to launch the debugger using the correct Ruby version, rdbg allows conf

```jsonc
// Default value is "none" for not using a version manager to activate the environment
// Available managers are shadowenv, chruby, asdf, rbenv and rvm
// Available managers are shadowenv, chruby, asdf, rbenv, mise and rvm

{
// User settings
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
"asdf",
"rbenv",
"rvm",
"mise",
"none"
],
"default": "none"
Expand Down
5 changes: 5 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ enum VersionManager {
Rbenv = "rbenv",
Rvm = "rvm",
Shadowenv = "shadowenv",
Mise = "mise",
None = "none",
}

Expand Down Expand Up @@ -379,6 +380,10 @@ class RdbgAdapterDescriptorFactory implements DebugAdapterDescriptorFactory, Ver
?.activate();
await this.sleepMs(500);
break;
case VersionManager.Mise:
command = this.makeShellCommand('rbenv exec ruby -- ruby' + rubyEnvCommand);
await this.injectRubyEnvironment(command, cwd);
break;
default:
return;
}
Expand Down