Ruby Jard supports customization via preloaded configuration files. You can configure Jard both globally and on a per-project basis.
- If the
JARD_CONFIG_FILEenvironment variable is available, Jard uses that file.
- The global configuration file is located at
- The project configuration file is located at
.jardrcin the current working directory when you start Ruby Jard. Per-project configs override the global one.
Here are some supported configurations:
|Choose your favorite color scheme. See color schemes page for more information.||See color-scheme command|
|By default, Ruby Jard chooses the layout based on current window size. This option allows you to force a layout.|
|Force display of a subset of screens. This option correlates with the recent layout's screens.|
|Filter mode. See filter page for more information|
|Filter included pattern. See filter page for more information|
|Filter excluded pattern. See filter page for more information|
This is a complete example of a configuration file:
config.color_scheme = "deep-space"
config.alias_to_debugger = true
config.layout = "wide"
config.enabled_screens = ['backtrace', 'source']
config.filter = :gems
config.filter_included = ['active*', 'sidekiq']
config.filter_excluded = ['acts-as-taggable-on']