Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect missing Rubies and offer to install them #2173

Open
vinistock opened this issue Jun 12, 2024 · 2 comments
Open

Detect missing Rubies and offer to install them #2173

vinistock opened this issue Jun 12, 2024 · 2 comments
Labels
enhancement New feature or request pinned This issue or pull request is pinned and won't be marked as stale rubyconf-hackday vscode This pull request should be included in the VS Code extension's release notes

Comments

@vinistock
Copy link
Member

vinistock commented Jun 12, 2024

Note

This issue is aimed at those attending the RubyConf 2024 Hack Day

If we detect a configured Ruby version that isn't installed, we might be able to offer the option for installing it from the VS Code extension. That would be a pretty nice experience.

This won't work for version managers that don't handle Ruby installation as well (like Shadowenv or chruby). But it would work for rbenv, rvm, mise and asdf - as long as detecting that the configured Ruby is missing is straightforward.

@vinistock vinistock added enhancement New feature or request pinned This issue or pull request is pinned and won't be marked as stale vscode This pull request should be included in the VS Code extension's release notes labels Jun 12, 2024
@Earlopain
Copy link
Contributor

Earlopain commented Jun 13, 2024

rbenv doesn't actually come with the build command by default: https://github.com/rbenv/ruby-build
https://github.com/rbenv/rbenv?tab=readme-ov-file#installing-ruby-versions

It would be a good bet but you can't rely on it

@andyw8
Copy link
Contributor

andyw8 commented Oct 22, 2024

Potentially related: #2583

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned This issue or pull request is pinned and won't be marked as stale rubyconf-hackday vscode This pull request should be included in the VS Code extension's release notes
Projects
None yet
Development

No branches or pull requests

3 participants