jdx/mise

Bundler not found in mise registry

Ernest0-Production opened this issue · 5 comments

Describe the bug

I don't know since which version exactly, but bundler was removed from the registry.
In version 2024.10.13 it was still there.

This led to an error for some members of my team who installed mise on their mac for the first time and installed dependencies declared in mise.toml of git project.

IMHO, it would be safer to show a warning in log that the plugin is planned to be removed, rather than doing it right away, since this can break backwards compatibility in the git history of the developer's repository.

To Reproduce

mise ls-remote bundler
mise registry bundler
mise install bundler@2.413

Expected behavior

Correct installation

jdx commented

there was a reason I removed it, unfortunately I don't remember why. Doesn't seem like much can be done about this. You can install it manually of course.

@jdx Maybe in this case it would be better to add the ability to explicitly specify a reference to the state of the register, as is done in aqua registers?

jdx commented

That's what the lock file is for

Oh, thanks! I didn't know there was such a thing in mise.

I would also like to understand the following for myself as part of this discussion:
Is the current gem backend production ready?
I accidentally came across it in the source code, but did not find any mention in the documentation. Can this replace the use of bundler now?

jdx commented

I want to figure out what happens when you change the ruby version, so no it's not ready. If you change the ruby version things will break.