method

sysconfdir

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Etc
sysconfdir() public

Returns system configuration directory.

This is typically “/etc”, but is modified by the prefix used when Ruby was compiled. For example, if Ruby is built and installed in /usr/local, returns “/usr/local/etc” on other platforms than Windows. On Windows, this always returns the directory provided by the system.

Show source
Register or log in to add new notes.