Skip to content

fix: print a verbose error when ruby-version file is empty#704

Open
a-chacon wants to merge 2 commits into
spinel-coop:mainfrom
a-chacon:fix-manage-empty-ruby-version-files
Open

fix: print a verbose error when ruby-version file is empty#704
a-chacon wants to merge 2 commits into
spinel-coop:mainfrom
a-chacon:fix-manage-empty-ruby-version-files

Conversation

@a-chacon

@a-chacon a-chacon commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

It catches the EmptyInput error from RubyRequest parser and show a more detailed message. The problem with this solution is that the message could be annoying, it appears twice and in every command inside the folder of the empty ruby-version file because of the execution of shell commands.

Example:
image

try to fix #703

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Empty .ruby-version × Empty input

1 participant