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 am running
Mac OS Sonoma 14.5, rbenv 1.2.0, ruby 3.3.3, gem 3.5.13, bundler 2.5.13.
I get the following error when I run the rubocop command from LazyVim and also the shell:
/Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:65:in `pwd': No such file or directory - getcwd (Errno::ENOENT)
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:65:in `block in cache_root_dir_from_config'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/cache_config.rb:9:in `root_dir'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:62:in `cache_root_dir_from_config'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:54:in `cache_path'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:45:in `dir'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:114:in `stderr_path'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/socket_reader.rb:36:in `ensure in read!'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/socket_reader.rb:37:in `read!'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:86:in `read_socket'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:61:in `block in process_input'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:140:in `write_pid_file'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:60:in `process_input'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:49:in `block in detach_server'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:46:in `fork'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:46:in `detach_server'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:38:in `start'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/client_command/start.rb:42:in `block in run'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:127:in `acquire_lock'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/client_command/start.rb:29:in `run'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cli.rb:93:in `run_command'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cli.rb:83:in `process_arguments'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cli.rb:49:in `run'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/exe/rubocop:8:in `<top (required)>'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/bin/rubocop:25:in `load'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/bin/rubocop:25:in `<main>'
/Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:65:in `pwd': No such file or directory - getcwd (Errno::ENOENT)
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:65:in `block in cache_root_dir_from_config'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/cache_config.rb:9:in `root_dir'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:62:in `cache_root_dir_from_config'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:54:in `cache_path'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:45:in `dir'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:94:in `token_path'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/server_command/base.rb:45:in `validate_token!'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/server_command/base.rb:22:in `run'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/socket_reader.rb:33:in `block in read!'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/helper.rb:26:in `redirect'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/socket_reader.rb:28:in `read!'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:86:in `read_socket'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:61:in `block in process_input'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:140:in `write_pid_file'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:60:in `process_input'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:49:in `block in detach_server'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:46:in `fork'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:46:in `detach_server'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/core.rb:38:in `start'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/client_command/start.rb:42:in `block in run'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cache.rb:127:in `acquire_lock'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/client_command/start.rb:29:in `run'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cli.rb:93:in `run_command'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cli.rb:83:in `process_arguments'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/lib/rubocop/server/cli.rb:49:in `run'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/gems/rubocop-1.64.1/exe/rubocop:8:in `<top (required)>'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/bin/rubocop:25:in `load'
from /Users/apark/.local/share/nvim/mason/packages/rubocop/bin/rubocop:25:in `<main>'
The text was updated successfully, but these errors were encountered:
I am running
Mac OS Sonoma 14.5, rbenv 1.2.0, ruby 3.3.3, gem 3.5.13, bundler 2.5.13.
I get the following error when I run the
rubocop
command from LazyVim and also the shell:The text was updated successfully, but these errors were encountered: