asdf-vm / asdf-vm/asdf-ruby

Reshim doesn't pick up new versions of Ruby

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

Description

I am a frequent user of the Parity gem (https://github.com/thoughtbot/parity). The shims for these ruby commands don't seem to pick up newer versions of Ruby any longer. When running then, I get an error about the version not being included.

An example is below for the command "development":

```
#!/usr/bin/env bash
# asdf-plugin: ruby 2.5.8
exec /Users/home/.asdf/bin/../bin/asdf exec "development" "$@"
```

If I add a line `# asdf-plugin: ruby 2.7.2` it works perfectly.

```
#!/usr/bin/env bash
# asdf-plugin: ruby 2.7.2
# asdf-plugin: ruby 2.5.8
exec /Users/home/.asdf/bin/../bin/asdf exec "development" "$@"
```

Is there some way to troubleshoot why asdf doesn't seem to be catching the newer versions? I've tried deleting the shims directory completely and regenerating them to no avail. It used to work fine, but a couple of months ago, this issue cropped up and hasn't resolved.

Thanks for any insight you can provide.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.