Skip to content

feat(ruby): add uru version manager detection #122

@CalvinAllen

Description

@CalvinAllen

Blocked By


Description

Add detection for uru, a lightweight Ruby version manager for Windows, to the migration provider system.

Currently, the migration system detects:

  • System PATH (via LookPathExcludingShims)
  • rbenv (Unix)
  • rvm (Unix)
  • chruby (Unix)

Windows users who use uru for Ruby version management are not detected.

What is uru?

uru is a lightweight, multi-platform Ruby version manager that works on Windows, Linux, and macOS. On Windows, it's one of the few options for managing multiple Ruby versions.

uru stores its configuration and managed Ruby paths in ~/.uru/.

Proposed Changes

Once #128 is implemented, create a new migration provider for uru:

  • Create src/migrations/uru/provider.go
  • Implement the MigrationProvider interface
  • Check for ~/.uru directory
  • Parse uru's configuration to find managed Ruby paths
  • Return detected versions with source label "uru"

Acceptance Criteria

Files Affected

  • src/migrations/uru/provider.go (new)
  • src/migrations/uru/provider_test.go (new)
  • src/main.go (add import)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions