/** * Ruby + Rails environment doctor checks per ADR-21 §Install Pattern * and v0.9 Stream A Substep 5.2 scope. * * Ten Ruby-specific checks dispatched from `lsp.ts` `checkExecutable` * Ruby branch. All checks use `category: "lsp"` per types.ts category * enum constraint (Ruby environment is the substrate ruby-lsp spawns * against; rolls up under LSP umbrella in doctor output). * * Check inventory: * 1. ruby_version — version >= 3.3 (4.0+ recommended; * warn-not-error pattern) * 2. bundler — `bundle --version` resolvable * 3. ruby_lsp_gem — ruby-lsp gem available via bundler * or direct gem-install (per * resolveSpawnPattern) * 4. rails_detected — informational (Gemfile + bin/rails * presence per detectRails()) * 5. ruby_lsp_rails_gem — warn if Rails detected + gem missing * (graceful degrade per Path β+δ) * 6. multiple_ruby_installs — PATH precedence warning if multiple * ruby binaries on PATH * 7. non_path_ruby_install — rbenv/RVM/chocolatey detected but * not on PATH [Phase 4 cohort-UX * deferral absorbed] * 8. libyaml_windows — Windows-only: ruby Psych load test * (libyaml dev headers may need * `ridk install`) * 9. tzinfo_data_windows — Windows + Rails: tzinfo-data gem * presence (required for Rails-on- * Windows tz init) * 10. database_yml — informational; absence OK at v1.0 * per Path β+δ acceptance (ruby-lsp- * rails Rails-runner addon may fail * to initialize; core ruby-lsp * documentSymbol/hover/references * unaffected) * * Non-applicable checks return null and are filtered out at the * orchestrator (Rails-conditional checks fire only when * detectRails() === true; platform-conditional checks fire only on * matching platform). */ import type { DoctorCheck } from "../types.js"; /** * Run all Ruby environment checks for `repoRoot`. Returns the full * check set (always-on + Rails-conditional + platform-conditional) * with non-applicable checks filtered out. */ export declare function rubyEnvironmentChecks(repoRoot: string): DoctorCheck[]; //# sourceMappingURL=ruby-environment.d.ts.map