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

Make sure .ruby-lsp directory always exists #2747

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

vinistock
Copy link
Member

Motivation

Another change aimed at the new launcher strategy. We will need to write the path to the Gemfile that needs to be used to setup Bundler to a file on every activation. That means, we will need the .ruby-lsp directory even when all gems are present in the bundle.

Implementation

This PR ensures that the directory is always available.

Automated Tests

Modified existing tests. Removed the ones that aren't relevant anymore.

We will need the directory to inform the main
process about the Gemfile path to setup Bundler
with
@vinistock vinistock added server This pull request should be included in the server gem's release notes other Changes that aren't bugfixes, enhancements or breaking changes labels Oct 21, 2024
@vinistock vinistock self-assigned this Oct 21, 2024
@vinistock vinistock requested a review from a team as a code owner October 21, 2024 19:23
@vinistock vinistock changed the title Make sure .ruby-lsp directory always exists Make sure .ruby-lsp directory always exists Oct 21, 2024
@vinistock vinistock merged commit f6d2ae3 into main Oct 22, 2024
35 checks passed
@vinistock vinistock deleted the vs-ensure-ruby-lsp-directory-exists branch October 22, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other Changes that aren't bugfixes, enhancements or breaking changes server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants