Tools for Ruby developers.

WarningThese are vibe coded, pseudo ports of the RubyCritic, Flog, Flay and Reek Ruby gems. Use at your own risk. When things go right, credit goes to the authors this code is based on. When things go wrong, blame goes to you for installing it.

Editor Plugins

ProjectRequiresVersion
rubycritic.nvim Neovim configuration for rubycritic-lsp: each RubyCritic smell as a diagnostic, with its documentation on hover, and the module's rating above its first line.
Neovim 0.12+
rubycritic-lsp
v0.1.0 Source →
Install nowHide
Neovim 0.12 · vim.pack
-- init.lua
vim.pack.add({ "https://github.com/gloom-fm/rubycritic.nvim" })
vim.lsp.enable("rubycritic")

Requires rubycritic-lsp on your PATH: gem install rubycritic-rs or cargo install rubycritic-lsp.

Command Line & Language Server

rubycritic-rs RubyCritic 5.0.0's code quality report, computed in Rust. The rubycritic binary takes RubyCritic's options and .rubycritic.yml settings; rubycritic-lsp shows smells and ratings in your editor.
CLILSPRake task
gem install rubycritic-rs Ported from RubyCritic by Guilherme Simões, Nuno Silva, Lucas Mazza, Timo Rößner and contributors.
Rust 1.88+
Ruby 3.3+
v0.1.0 Source →

Libraries

flog-rs Flog's ABC complexity scores, computed in Rust from Prism's syntax tree. gem install flog_rs Ported from Flog by Ryan Davis.
Rust 1.85+
Ruby 3.3+
v0.1.0 Source →
flay-rs Flay's structural duplication analysis, computed in Rust from Prism's syntax tree. gem install flay_rs Ported from Flay by Ryan Davis.
Rust 1.85+
Ruby 3.3+
v0.1.0 Source →
reek-rs Reek's code smells, computed in Rust from Prism's syntax tree. gem install reek_rs Ported from Reek by Kevin Rutherford, Timo Roessner, Matijs van Zuijlen, Piotr Szotkowski and contributors.
Rust 1.88+
Ruby 3.3+
v0.1.0 Source →