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.
| Capability | execution.ruby_environment |
|---|---|
| Area | Run, test and tasks |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
ruby | string | ruby 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.
ferris-idea call ~/my-project ruby_environmentInput 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" ] } }}