asdf-vm / asdf-vm/asdf-ruby

Support fuzzy matching the Ruby version for `.ruby-version` files

Open
#474 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
734
Forks
156
Avg merge
17h 6m
Merged PRs (30d)
1

Description

If `asdf-ruby` supported fuzzy matching for `.ruby-version`, it would make it even easier for people to migrate from RVM and chruby. We could remove this disclaimer in the README:

> If you are migrating from version manager that supported fuzzy matching in `.ruby-version` like [rvm](https://github.com/rvm/rvm) or [chruby](https://github.com/postmodern/chruby), note that you might have to change `.ruby-version` to include full version (e.g. change `2.6` to `2.6.1`).

While people _could_ use the [asdf-alias](https://github.com/andrewthauer/asdf-alias) plugin, the experience is not as ideal as having the `asdf` plugin just work.

People can also set `.tool-versions` or override their local copy of `.ruby-version`, but if you don't want to check in changes for a pre-existing project, it's another thing to worry about.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the README section containing the migration disclaimer, then trace how asdf-ruby reads and resolves `.ruby-version` values. Confirm the expected behavior against the RVM and chruby examples in the issue; done means compatible fuzzy versions work without local overrides and the outdated disclaimer can be removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby, shell
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.