Skip to content

Incompatibilities when upgrading asdf #652

Open
@purinkle

Description

@purinkle

When running the script on a machine with an upgraded asdf version (0.15 -> 0.16), the script fails with the following.

Installing latest Ruby ...
Updating rubygems-update
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
failed

The script also outputs asdf's "help" text several times.

The linked branch resolves this issue on my machine but outputs the following on a fresh macOS build.

No plugins installed

Installing latest Ruby ...
No compatible versions installed (ruby )
No versions specified for ruby in config files or environment
failed

I expect the script to be idempotent.

The current main version works on a fresh macOS build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions