DEV Community

Discussion on: 👩‍💻 The three extensions you need for Rails development in VS Code

Collapse
 
drbragg profile image
Drew Bragg

Solargraph can be great when it wants to be. What annoys me about it is it has to be part of the Gemfile for the project, no global installation (at least that I've been able to get working). So If I'm just writing a quick script I have to remember to disable the extension or I'll get a bunch of error messages, and then I also can use the extension...

Collapse
 
mshuttle profile image
Mark A Shuttleworth

You could set references to gemfile and gemfile.lock in your gitignore file. Then install solargraph.

If you add other gems or update gems then you must remember to temporarily unset these gitignore eferences and temporarily remove solargraph before pushing to the repo.