You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble getting solargraph working with my ruby/rails project. It keeps timing out.
I've removed and reinstalled solargraph, bundle bundle install etc.
Below is the contents of the lsp log file.
[START][2024-01-29 10:54:44] LSP logging initiated
[ERROR][2024-01-29 10:54:44] .../vim/lsp/rpc.lua:734 "rpc" "/home/dev/.local/share/nvim/mason/bin/solargraph" "stderr" "Solargraph is listening on stdio PID=8183\n"
[ERROR][2024-01-29 10:54:46] .../vim/lsp/rpc.lua:734 "rpc" "/home/dev/.local/share/nvim/mason/bin/solargraph" "stderr" "[WARN] /home/dev/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.1/lib/bundler/definition.rb:523:in `materialize': Could not find racc-1.7.3 in locally installed gems (Bundler::GemNotFound)\n\tfrom /home/dev/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.1/lib/bundler/definition.rb:245:in `specs_for'\n\tfrom -e:1:in `block in <main>'\n\tfrom -e:1:in `chdir'\n\tfrom -e:1:in `<main>'\n\n"
[ERROR][2024-01-29 10:54:46] .../vim/lsp/rpc.lua:734 "rpc" "/home/dev/.local/share/nvim/mason/bin/solargraph" "stderr" "[WARN] Failed to load gems from bundle at /home/dev/code/clients/thisfirst/first-api\n"
[ERROR][2024-01-29 10:54:46] .../vim/lsp/rpc.lua:734 "rpc" "/home/dev/.local/share/nvim/mason/bin/solargraph" "stderr" "[WARN] /home/dev/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.1/lib/bundler/definition.rb:523:in `materialize': Could not find racc-1.7.3 in locally installed gems (Bundler::GemNotFound)\n\tfrom /home/dev/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.1/lib/bundler/definition.rb:245:in `specs_for'\n\tfrom -e:1:in `block in <main>'\n\tfrom -e:1:in `chdir'\n\tfrom -e:1:in `<main>'\n\n"
[ERROR][2024-01-29 10:54:46] .../vim/lsp/rpc.lua:734 "rpc" "/home/dev/.local/share/nvim/mason/bin/solargraph" "stderr" "[WARN] Failed to load gems from bundle at /home/dev/code/clients/thisfirst/first-api\n"
[ERROR][2024-01-29 10:54:47] .../vim/lsp/rpc.lua:734 "rpc" "/home/dev/.local/share/nvim/mason/bin/solargraph" "stderr" "#<Thread:0x00007f9095f1e9d8 /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/language_server/host/diagnoser.rb:45 run> terminated with exception (report_on_exception is true):\n"
[ERROR][2024-01-29 10:54:47] .../vim/lsp/rpc.lua:734 "rpc" "/home/dev/.local/share/nvim/mason/bin/solargraph" "stderr" "/home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/feature_loader.rb:46:in `rescue in rescue in load': cannot load such file -- rubocop-minitest (LoadError)\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/feature_loader.rb:39:in `rescue in load'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/feature_loader.rb:32:in `load'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/feature_loader.rb:21:in `load'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:14:in `block (2 levels) in resolve_requires'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:13:in `each'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:13:in `block in resolve_requires'\n\tfrom <internal:kernel>:90:in `tap'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:12:in `resolve_requires'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader.rb:52:in `load_file'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader.rb:111:in `configuration_from_file'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_store.rb:68:in `for_dir'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_store.rb:58:in `for'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:194:in `block in process_explicit_path'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:193:in `reject'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:193:in `process_explicit_path'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:40:in `block in find'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:36:in `each'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:36:in `find'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/runner.rb:111:in `find_target_files'\n"
[ERROR][2024-01-29 10:54:47] .../vim/lsp/rpc.lua:734 "rpc" "/home/dev/.local/share/nvim/mason/bin/solargraph" "stderr" "\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/runner.rb:68:in `run'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/diagnostics/rubocop.rb:31:in `block in diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/diagnostics/rubocop_helpers.rb:59:in `redirect_stdout'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/diagnostics/rubocop.rb:31:in `diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/library.rb:368:in `block in diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/library.rb:367:in `each_pair'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/library.rb:367:in `diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/language_server/host.rb:215:in `diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/language_server/host/diagnoser.rb:66:in `tick'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/language_server/host/diagnoser.rb:47:in `block in start'\n"
[ERROR][2024-01-29 10:54:47] .../vim/lsp/rpc.lua:734 "rpc" "/home/dev/.local/share/nvim/mason/bin/solargraph" "stderr" "<internal:/home/dev/.asdf/installs/ruby/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- rubocop/minitest (LoadError)\n\tfrom <internal:/home/dev/.asdf/installs/ruby/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/feature_loader.rb:42:in `rescue in load'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/feature_loader.rb:32:in `load'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/feature_loader.rb:21:in `load'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:14:in `block (2 levels) in resolve_requires'\n"
[ERROR][2024-01-29 10:54:47] .../vim/lsp/rpc.lua:734 "rpc" "/home/dev/.local/share/nvim/mason/bin/solargraph" "stderr" "\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:13:in `each'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:13:in `block in resolve_requires'\n\tfrom <internal:kernel>:90:in `tap'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:12:in `resolve_requires'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader.rb:52:in `load_file'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader.rb:111:in `configuration_from_file'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_store.rb:68:in `for_dir'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_store.rb:58:in `for'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:194:in `block in process_explicit_path'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:193:in `reject'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:193:in `process_explicit_path'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:40:in `block in find'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:36:in `each'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:36:in `find'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/runner.rb:111:in `find_target_files'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/runner.rb:68:in `run'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/diagnostics/rubocop.rb:31:in `block in diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/diagnostics/rubocop_helpers.rb:59:in `redirect_stdout'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/diagnostics/rubocop.rb:31:in `diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/library.rb:368:in `block in diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/library.rb:367:in `each_pair'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/library.rb:367:in `diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/language_server/host.rb:215:in `diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/language_server/host/diagnoser.rb:66:in `tick'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/language_server/host/diagnoser.rb:47:in `block in start'\n<internal:/home/dev/.asdf/installs/ruby/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- rubocop-minitest (LoadError)\n\tfrom <internal:/home/dev/.asdf/installs/ruby/3.1.0/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/feature_loader.rb:35:in `load'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/feature_loader.rb:21:in `load'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:14:in `block (2 levels) in resolve_requires'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:13:in `each'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:13:in `block in resolve_requires'\n\tfrom <internal:kernel>:90:in `tap'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader_resolver.rb:12:in `resolve_requires'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader.rb:52:in `load_file'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_loader.rb:111:in `configuration_from_file'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_store.rb:68:in `for_dir'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/config_store.rb:58:in `for'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:194:in `block in process_explicit_path'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:193:in `reject'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:193:in `process_explicit_path'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:40:in `block in find'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:36:in `each'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/target_finder.rb:36:in `find'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/runner.rb:111:in `find_target_files'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/rubocop-1.60.2/lib/rubocop/runner.rb:68:in `run'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/diagnostics/rubocop.rb:31:in `block in diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/diagnostics/rubocop_helpers.rb:59:in `redirect_stdout'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/diagnostics/rubocop.rb:31:in `diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/library.rb:368:in `block in diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/library.rb:367:in `each_pair'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/library.rb:367:in `diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/language_server/host.rb:215:in `diagnose'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/language_server/host/diagnoser.rb:66:in `tick'\n\tfrom /home/dev/.local/share/nvim/mason/packages/solargraph/gems/solargraph-0.50.0/lib/solargraph/language_server/host/diagnoser.rb:47:in `block in start'\n"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm having trouble getting solargraph working with my ruby/rails project. It keeps timing out.
I've removed and reinstalled solargraph, bundle
bundle install
etc.Below is the contents of the lsp log file.
Beta Was this translation helpful? Give feedback.
All reactions