Profile picture Schedule a Meeting
c a n d l a n d . n e t

CoC Solargraph Ruby Settings

Dusty Candland | | vim, neovim, ruby, coc, solargraph, asdf

Using Coc with Neovim in ZSH and a ruby version manager, like RVM, or ASDF.

  1. In Neovim run :CocConfig and add the following setting. This will use your project Gemfile file.
{
  "solargraph.useBundler": true,
}
  1. Add the solargraph gem to you Gemfile, in development

  2. Make sure ZSH sources you ruby version manager. This needs to go in ~/.zprofile due to the way solargraph is run. More details here: GitHub Issue

# Source ASDF
. $(brew --prefix asdf)/asdf.sh

Webmentions

These are webmentions via the IndieWeb and webmention.io. Mention this post from your site: