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
{{ message }}
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
Using language server? (eg useLanguageServer is true in your configuration?) No
Expected behavior
For linting and formatting to work in a new rails project with standardrb.
Actual behavior
The extension fails to start when opening a Ruby file in a new Rails project. The extension host log window gives the following output:
[2021-11-03 13:23:50.173] [exthost] [error] TypeError: u[t] is not a constructor
at c._runLinters (/home/aries/.vscode/extensions/rebornix.ruby-0.28.1/dist/client/ruby.js:9:100387)
at c.run (/home/aries/.vscode/extensions/rebornix.ruby-0.28.1/dist/client/ruby.js:9:98899)
at t.LintCollection.run (/home/aries/.vscode/extensions/rebornix.ruby-0.28.1/dist/client/ruby.js:9:97999)
at r (/home/aries/.vscode/extensions/rebornix.ruby-0.28.1/dist/client/ruby.js:9:94677)
at Array.forEach (<anonymous>)
at Object.t.registerLinters (/home/aries/.vscode/extensions/rebornix.ruby-0.28.1/dist/client/ruby.js:9:95207)
at /home/aries/.vscode/extensions/rebornix.ruby-0.28.1/dist/client/ruby.js:1:78681
at Generator.next (<anonymous>)
at /home/aries/.vscode/extensions/rebornix.ruby-0.28.1/dist/client/ruby.js:1:77907
at new Promise (<anonymous>)
at r (/home/aries/.vscode/extensions/rebornix.ruby-0.28.1/dist/client/ruby.js:1:77655)
at t.activate (/home/aries/.vscode/extensions/rebornix.ruby-0.28.1/dist/client/ruby.js:1:78420)
at Function._callActivateOptional (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:15028)
at Function._callActivate (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:14704)
at /opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:12907
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Promise.all (index 1)
Your environment
vscode-ruby
version: 0.28.1useLanguageServer
is true in your configuration?) NoExpected behavior
For linting and formatting to work in a new rails project with standardrb.
Actual behavior
The extension fails to start when opening a Ruby file in a new Rails project. The extension host log window gives the following output:
My ruby VSCode config:
My Gemfile is a standard new Rails 6.1.4.1 project with the
standard
gem added to the Gemfile.The text was updated successfully, but these errors were encountered: