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
In #503 we added a check for pending migrations when starting ruby-lsp-rails.
If the database doesn't exist, this results in a failure which causes Ruby LSP to stop responding.
On code-db (an internal Shopify app) I can reproduce by running rake db:drop then starting Ruby LSP.
2024-11-07 10:00:53.844 [info] (code-db) Request failed:
2024-11-07 10:00:53.844 [info] (code-db) /Users/andyw8/.gem/ruby/3.3.1/gems/activerecord-7.2.2/lib/active_record/connection_adapters/trilogy_adapter.rb:34:in `rescue in new_client': We could not find your database: code_db_development. Available database configurations can be found in config/database.yml. (ActiveRecord::NoDatabaseError)
The text was updated successfully, but these errors were encountered:
In #503 we added a check for pending migrations when starting ruby-lsp-rails.
If the database doesn't exist, this results in a failure which causes Ruby LSP to stop responding.
On code-db (an internal Shopify app) I can reproduce by running
rake db:drop
then starting Ruby LSP.The text was updated successfully, but these errors were encountered: