Skip to content

Does the add-on support the rubyLsp.bundleGemfile setting? #626

Closed
@zarembas

Description

@zarembas

I use the Ruby LSP extension with a separate Gemfile, not the one from the project. I'm unsure whether this works properly with the Rails add-on as I'm getting this error in the output.

Ruby LSP Rails failed to initialize server: /Users/seb/.local/share/mise/installs/ruby/3.3.7/lib/ruby/gems/3.3.0/gems/ruby-lsp-rails-0.4.6/lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:121:in `rescue in initialize': /Users/seb/.local/share/mise/installs/ruby/3.3.7/lib/ruby/gems/3.3.0/gems/psych-5.2.6/lib/psych/visitors/to_ruby.rb:471:in `visit_Psych_Nodes_Alias': Alias parsing was not enabled. To enable it, pass `aliases: true` to `Psych::load` or `Psych::safe_load`. (Psych::AliasesNotEnabled) (RubyLsp::Rails::RunnerClient::InitializationError)

I'm guessing it has something to do with the Rails server not running from the same place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions