return { { "neovim/nvim-lspconfig", opts = { servers = { ruby_lsp = { cmd = function(dispatchers, config) return vim.lsp.rpc.start({ "ruby-lsp" }, dispatchers, { cwd = config and (config.cmd_cwd or config.root_dir), env = { BUNDLE_GEMFILE = vim.fn.expand("~/.config/nvim/ruby-lsp-bundle/Gemfile"), }, }) end, }, }, }, }, }