default_system_path

default_system_path()
Class Public methods

Returns the directories in the current shell's PATH environment variable as an array of directory names. This sets the #system_path for all instances of Shell.

Example: If in your current shell, you did:

1
2
$ echo $PATH
/usr/bin:/bin:/usr/local/bin

Running this method in the above shell would then return:

1
["/usr/bin", "/bin", "/usr/local/bin"]
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.