Skip to content

Should be possible to change Robe errors buffer from inf-ruby buffer to another buffer  #143

@anquegi

Description

@anquegi

Thanks for this great package, This is not a bug, maybe is a question about usability in conjunction with inf-ruby package
I'm using robe with my project rails, and i also use the Pry console as a REPL for development, but I get a lot of annoying traces when using robe in rails buffer (inf-ruby comint buffer):

E, [2023-01-13T10:37:25.534518 #19192] ERROR -- : Request failed: /method_targets/_id/bill_user/CreateImportedBillLib/-/-/yes. Please file an issue.
E, [2023-01-13T10:37:25.535610 #19192] ERROR -- : undefined method `has_key?' for nil:NilClass
/home/toni/src/company_name/P-bills/bills/.direnv/ruby/gems/whenever-1.0.0/lib/whenever/job_list.rb:41:in `respond_to?'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash/includes_tracker.rb:29:in `block in maybe_scan'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash/includes_tracker.rb:28:in `each_object'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash/includes_tracker.rb:28:in `maybe_scan'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash/includes_tracker.rb:7:in `method_owner_and_inst'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:58:in `method_spec'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:107:in `block in method_targets'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:107:in `map'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:107:in `method_targets'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:182:in `public_send'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:182:in `call'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/server.rb:45:in `block in start'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/server.rb:29:in `loop'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/server.rb:29:in `start'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe.rb:30:in `block in start'
E, [2023-01-13T10:41:04.498257 #19192] ERROR -- : Request failed: /method_targets/_id/bill_user/CreateImportedBillLib/-/-/yes. Please file an issue.
E, [2023-01-13T10:41:04.499314 #19192] ERROR -- : undefined method `has_key?' for nil:NilClass
/home/toni/src/company_name/P-bills/bills/.direnv/ruby/gems/whenever-1.0.0/lib/whenever/job_list.rb:41:in `respond_to?'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash/includes_tracker.rb:29:in `block in maybe_scan'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash/includes_tracker.rb:28:in `each_object'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash/includes_tracker.rb:28:in `maybe_scan'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash/includes_tracker.rb:7:in `method_owner_and_inst'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:58:in `method_spec'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:107:in `block in method_targets'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:107:in `map'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:107:in `method_targets'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:182:in `public_send'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/sash.rb:182:in `call'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/server.rb:45:in `block in start'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/server.rb:29:in `loop'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe/server.rb:29:in `start'
/home/toni/.doom-emacs/.local/straight/build-29.0.60/robe/lib/robe.rb:30:in `block in start'
[171] pry(CreateImportedBillLib):1> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions