Skip to content

[epic] daily builds of ruby-dev from ruby/ruby #464

@indirect

Description

@indirect

The repo at spinel-coop/rv-ruby-dev now offers daily builds of the latest Ruby from ruby/ruby on a daily basis. We can add specific support for ruby-dev as a version of ruby, with a different URL to fetch the latest version. We should probably also track and display the date tag that is installed, so users can know if they need to install again.

Acceptance criteria:

  • rv ruby install dev works, and installs the correct tarball from the latest release to spinel-coop/rv-ruby-dev
    • said ruby is installed to $RUBIES/ruby-dev/ instead of $RUBIES/ruby-1.2.3/
    • rv ruby uninstall dev works and removes $RUBIES/ruby-dev/
  • rv ruby list shows ruby-dev as an option if it is not installed
  • rv ruby list shows "dev" in the name of the installed version
    • rv ruby list shows the date/tag that rv downloaded the ruby build from
    • rv ruby list shows the git commit that ruby-dev was built from, as printed by ruby --version
  • rv ruby pin dev works and writes ruby-dev into the .ruby-version file
  • rv ruby run dev -- --version runs ruby-dev and prints the full version
  • rv ruby pin dev && rv ruby run -- --version runs ruby-dev and prints the full version
  • rv ruby pin dev && rv run ruby --version runs ruby-dev and prints the full version
  • do not choose ruby-dev as the default version if it is installed and no version is pinned

Open for discussion: should these work?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions