pare-ruby
v0.24.2Pare Ruby — Structured Ruby & Bundler operations (run, check, gem, bundle) as typed JSON.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run Ruby Run
Executes a Ruby script file and returns structured output (stdout, stderr, exit code, duration).
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the Ruby file to execute |
args | array | Arguments to pass to the Ruby script |
compact | boolean | Prefer compact output |
path | string | Project root path |
check Ruby Syntax Check
Checks a Ruby file for syntax errors using `ruby -c` and returns structured validation results.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the Ruby file to syntax-check |
compact | boolean | Prefer compact output |
path | string | Project root path |
gem-list Gem List
Lists installed Ruby gems with version information. Returns structured JSON with gem names and versions.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
filter | string | Regex filter on gem names (client-side) |
path | string | Project root path |
gem-install Gem Install
Installs a Ruby gem using `gem install` and returns structured output with success status and duration.
| Parameter | Type | Description |
|---|---|---|
gem * | string | Name of the gem to install |
compact | boolean | Prefer compact output |
path | string | Project root path |
version | string | Specific version to install (e.g., '1.2.3') |
gem-outdated Gem Outdated
Lists outdated Ruby gems showing current and latest available versions.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
path | string | Project root path |
bundle-install Bundle Install
Installs Gemfile dependencies using `bundle install` and returns structured output with success status and duration.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
path | string | Project root path |
bundle-exec Bundle Exec
Executes a command in the context of the Gemfile bundle using `bundle exec` and returns structured output.
| Parameter | Type | Description |
|---|---|---|
command * | string | Command to execute in the bundle context (e.g., 'rake', 'rspec', 'rubocop') |
args | array | Arguments to pass to the command |
compact | boolean | Prefer compact output |
path | string | Project root path |
bundle-check Bundle Check
Verifies that the Gemfile's dependencies are satisfied without installing them.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
path | string | Project root path |