Skip to end of metadata
Go to start of metadata

If a user reports problems with the detection of Rubies installed with version manager, we need to debug it (works since 2018.2.1 EAP). 

To do so, a user should start an IDE and open Help | Diagnostic Tools | Debug Log Settings (or find it via search action).

In the dialog opened, a user should put a logger id to enable debug logging:

  1. RVM - #org.jetbrains.plugins.ruby.version.management.rvm.RvmSdkRefresher
  2. Rbenv - #org.jetbrains.plugins.ruby.version.management.rbenv.RbenvSdkRefresher
  3. Chruby - #org.jetbrains.plugins.ruby.version.management.chruby.ChrubySdkRefresher
  4. Asdf - #org.jetbrains.plugins.ruby.version.management.asdf.AsdfSdkRefresher

Then a user should click OK and restart IDE.

Now logging for respective SDK refresher is enabled, and the log should contain entries like this (for Asdf):

2018-07-30 16:57:18,237 [   7350]  DEBUG - nagement.asdf.AsdfSdkRefresher - Refreshing sdks

We need such a log to try to determine what went wrong.

  • No labels