Expand ${workspaceFolder} in bundleGemfile setting#3952
Merged
rafaelfranca merged 3 commits intomainfrom Feb 13, 2026
Merged
Conversation
VS Code does not auto-expand predefined variables in extension settings
retrieved via getConfiguration(), only in launch.json and tasks.json.
This caused ENOENT errors when users configured bundleGemfile with
${workspaceFolder}. Add an expandPath helper to resolve the variable
before using the path.
Fixes #3829
Move the existence check for the configured bundle gemfile to the top of activateRuby, before any version manager runs. This consolidates the validation into a single place and gives users a clear error message upfront instead of a confusing shell error later.
07deb02 to
a34480b
Compare
4ca8d9c to
dcb2623
Compare
Instead of having both Ruby and VersionManager independently read, expand, and resolve the bundleGemfile setting, Ruby now passes the resolved value down to VersionManager through the constructor.
dcb2623 to
7a48e40
Compare
vinistock
approved these changes
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also validates
bundleGemfileexistence early inactivateRubyso we can givee users a clear error message upfront instead of a confusing shell error later.Fixes #3829.