Skip to content

Migrate your app to Rails.Prove it behaves the same.

Ruby Anything records what your app does, then replays every recorded request and call against the Rails port. Your agent writes the Ruby. Nothing ships until the outputs match.

Or paste this into your coding agent

Install Ruby Anything with npm i -g ruby-anything, then run ruby-anything setup. Run ruby-anything go -- <command that starts this app> and finish the port until ruby-anything gate --app passes.

Source language
Ruby Anything
recordHTTP
replay100%
gatepass
Rails
Controller
ERB view
Turbo Frame
Stimulus
JavaScript, Kotlin, C#, PHP, Rust, Swift
TypeScriptsrc/routes/orders.tsTypeScript route moves to Rails behind the front door. Replay: 100%match
Rails 8 · Hotwire · Tailwind CSS · daisyUI
10
source languages: TypeScript, JavaScript, Python, Go, Java, Kotlin, C#, PHP, Rust and Swift
8
coding agents set up by one command: Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, GitHub Copilot, Cline
100%
of recorded cases must match before a piece passes the gate
0%
fallback to the original before app lift leaves a pure Rails app

Install

Install the CLI, then add the skill and the MCP server to Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, GitHub Copilot and Cline.

  1. 01

    Install the CLI

    $npm install -g ruby-anything
    $ruby-anything setup

    One package from npm.

  2. 02

    Register it with your agent

    ruby-anything setup adds the skill and the MCP server to Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, GitHub Copilot and Cline.

  3. 03

    Check your toolchain

    ruby-anything doctor checks Ruby, Rails and the runtimes your original needs.

ruby-anything goPortsMoves the migration to its next stage and writes the next task for your agent
ruby-anything analyzePlansRoutes, templates, functions in waves, dependencies and decisions
ruby-anything app recordRecordsSaves what every request answers, plus side effects
ruby-anything gateBlocksDone means gate passes: every case matches, rubocop and brakeman pass
ruby-anything app liftShipsRemoves the proxy and leaves a pure Rails app

Recording runs the original's real code. Work on a copy, with a test database (--db-reset "<command>").

How a port gets done

The original stays the source of truth. Ruby Anything does not translate code: it records behavior, keeps the app running behind a Rails front door, and a gate says when each piece is done.

Your appNode, Python, Go, Java, PHP and more
Ruby Anything app record
  • Records every HTTP answer, or CLI output
  • Turns your own test suite into cases
  • Captures outgoing HTTP, email and DB rows
Ruby Anything front-door
  • Runs rails new with Tailwind and daisyUI
  • Proxies unported routes to the original
  • Each route gets a kill switch
Ruby Anything diff, gate
  • Replays every recorded case
  • Pages compared by visible text, JSON exactly
  • Gate blocks stubs and pasted answers
Ruby Anything app lift
  • Replay stays at 100%
  • Fallback rate drops to zero
  • The proxy goes; pure Rails is left
Rails 8 appHotwire, Tailwind, daisyUI
ruby-anything app record . --http -- npm startruby-anything app wire . ordersruby-anything gate . --appruby-anything app lift .

What the recording catches

An example: a first port of a checkout route forgot to send the receipt email. The page looked right, and replay failed.

~/shop
# record the original, side effects included
$ ruby-anything app record . --http --effect-env SMTP_HOST=smtp_host -- npm start
$ ruby-anything app front-door .
# your agent ports the route, then:
$ ruby-anything app wire . checkout
$ ruby-anything app replay .
$ ruby-anything gate . --app
# replay, first port
POST /checkout: status and page text match
- POST /checkout: expected 1 email to buyer@example.test, got 0

# the original sent one email;
# the Rails port sent none.

# after the agent adds the mailer:
# every case matches, and the gate passes

Languages

The language and framework are detected from the repository. analyze lists routes, templates and functions in waves, and every dependency with its Rails equivalent.

Try it on your own app.

Free and open source. Your original stays the judge, and one switch sends any route back to it.