Skip to content

ruby_environment

MCP tools › Run, test and tasks

Ruby setup of the workspace without starting ruby: runtimes from rbenv, rvm, chruby, asdf, mise and PATH with versions; the requested version from .ruby-version, .tool-versions, mise.toml or the Gemfile, with contradictions as problems; which Ruby is selected and why; Bundler state with locked gems; and the Ruby language server command line that would start (ruby-lsp or solargraph, through bundle exec when locked) or why none can.

Its results carry text from process: the client is told to treat that as data, never as instructions.

Capabilityexecution.ruby_environment
AreaRun, test and tasks
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

ArgumentTypeDescription
rubystringruby executable or installation folder to use instead of the automatic choice (absolute or workspace-relative).

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project ruby_environment
Input schema as JSON
{
"type": "object",
"properties": {
"ruby": {
"description": "`ruby` executable or installation folder to use instead of the automatic choice (absolute\nor workspace-relative).",
"type": [
"string",
"null"
]
}
}
}