Skip to content

How do you develop in Gemfile-less mode? #3690

Closed Answered by vinistock
jconley88 asked this question in Q&A
Discussion options

You must be logged in to vote

Honestly, I haven't found a good solution for this yet, so we'll take any ideas. What I normally do, especially when investigating a bug, is this:

  1. Open VS Code on the bundle-less project
  2. Restart the LSP in debug mode with the command Debug the Ruby LSP server
  3. Use a launch task to attach to the current Ruby LSP process
  4. Then I put breakpoints in the installed LSP's code and debug step by step

It's definitely not the most straight forward thing. We do have a rubyLsp.branch setting, which allows you to use a version of the LSP that exists on GitHub. Maybe we can make that setting accept a file path as well and then you can point to your local copy even without a bundle. What do you think?

I…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jconley88
Comment options

You must be logged in to vote
3 replies
@vinistock
Comment options

@jconley88
Comment options

@vinistock
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants