Skip to content

Investigate running reen via rvx (rv project) #8

@soumyaray

Description

@soumyaray

Summary

Investigate whether reen can be run using rvx from the rv project — a fast Ruby version and gem manager built in Rust.

What is rvx?

rvx is a convenience command from rv that runs any gem CLI directly without permanent installation. For example, rvx rails new myapp downloads and runs the Rails gem in an ephemeral environment. This eliminates the need to gem install a tool globally before using it.

The rv project replaces rbenv + bundler + rubygems with a single fast CLI, and rvx specifically enables on-demand gem execution (similar to npx for Node).

Why this matters

If rvx reen works out of the box, users could rename files without installing the gem permanently:

rvx reen *.txt

This would lower the barrier to trying reen and fit well with modern Ruby tooling workflows.

Investigation items

  • Does rvx reen correctly discover and run the gem's CLI entry point?
  • Does reen's editor workflow (spawning $EDITOR with a temp file) work correctly in rvx's ephemeral environment?
  • Are there any issues with temp file paths, signal handling, or TTY interaction?
  • Does rvx reen --version and rvx reen --help behave as expected?
  • Document any setup or compatibility notes if it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions