Skip to content

Conversation

ono-max
Copy link

@ono-max ono-max commented Sep 23, 2025

Part of #2

As a first step, I extracted code related to version managers from ruby-lsp. Most code were extracted without any modifications.

@ono-max ono-max requested a review from a team as a code owner September 23, 2025 14:14
Comment on lines +39 to +41
const customBundleGemfile = vscode.workspace.getConfiguration("rubyLsp").get<string>("bundleGemfile");

if (customBundleGemfile && customBundleGemfile.length > 0) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this part to handle undefined because this customBundleGemfile will be null when rubyLsp is not installed.

@ono-max ono-max force-pushed the extract-version-managers branch from da78301 to c2a3537 Compare September 23, 2025 14:19

export const asyncExec = promisify(exec);
export const RUBY_ENVIRONMENTS = "Ruby Environments";
export const LOG_CHANNEL = window.createOutputChannel(RUBY_ENVIRONMENTS, {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this name from "Ruby LSP" to "Ruby Environments"

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.

1 participant