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:

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

Running this method in the above shell would then return:

["/usr/bin", "/bin", "/usr/local/bin"]
doc_ruby_on_rails
2015-05-14 20:49:49
Comments
Leave a Comment

Please login to continue.