Environment Variable | Description |
COSMOS_DIR | Windows Only. Tells the Windows .bat launcher files where to find the COSMOS Installation of Ruby. Typically set to C:\COSMOS. Expects Vendor\Ruby to exist in the directory. Is not used if Vendor\Ruby is found within two directories up of the executing .bat (typically within a COSMOS Installation) |
COSMOS_USERPATH | Allows scripts that run outside of your COSMOS project configuration folder to know where the project configuration folder is. Only needed if you plan on using scripts that rely on your project specific command/telemetry definitions or other configuration outside of the project folder. |
COSMOS_TEXT | Process to launch for COSMOS "Open in Text Editor" buttons. Should be exactly what needs to be typed from a command line and expect a single argument of a quoted filename to open. |
RUBYLIB | Adds folders to the Ruby library search path. |
RUBYOPT | Always passes specific command line options to the ruby interpretor |
GEM_PATH | Provides one or more paths to where gems may reside |
GEM_HOME | Provides the location where gems will be installed |
VISUAL | Preferred text editor used on linux if COSMOS_TEXT is not defined and gedit is not present |
EDITOR | Text editor used on linux if COSMOS_TEXT is not defined, and VISUAL is not defined, and gedit is not present |
PATH | PATH controls what executables are available to COSMOS when it shells out to tools. It also affects the dynamic library search on some platforms. |
SystemRoot | Windows Only. Used to know the windows installation folder. |