Panic if directory named Gemfile exists #4191
Replies: 1 comment
-
|
Fixed by #4256 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
mise
2025.1.9 linux-arm64 (b915c4f 2025-01-17)panics if a directory namedGemfileexists.I'm currently using
miseon a project that has aGemfiledirectory, which contains code for parsing ruby gemfiles. I can work around this by renaming the folder to something else, but I thinkmiseshould be updated to handle this edge case.Steps to reproduce
Run a docker container:
Install
mise/ # wget -O - https://mise.run | shRun
mise/ # ~/.local/bin/mise ls Tool Version Source RequestedCreate
Gemfiledirectory/ # mkdir GemfileRun
miseagain, panic occurs:What is the current bug behavior?
misepanicsWhat is the expected correct behavior?
miseshould not panicOutput of
mise doctorClick to expand
Possible fixes
Update
miseso it doesn't attempt to parseGemfileif it's a directory.Beta Was this translation helpful? Give feedback.
All reactions