-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi,
You do super regular updates of GAMS, which is great, but it is also a pain to have to install it by hand, so I use scripts for installation (and I have put them in Emacs gams-mode for automatic installation and retrieval of the latest version). The new brew command will also come in handy. However, there is a problem. Since GAMS and GAMS Studio are installed separately (on macOS), they do not properly talk to each other. Basically, GAMS Studio (even the latest version installed by script) uses by default the version of GAMS installed with the default installer (the pkg file on macOS). This is even if my PATH is properly set. Here is an example, GAMS Studio configuration:

GAMS on the PATH:

Sure, I can start GAMS Studio with --gams-dir and it works, but it does not save the configuration, and I cannot always start GAMS Studio from the terminal.
So, for me, any workflow relying on installing GAMS and Studio from the command line is broken by the behavior of Studio.
Am I missing something? If this is not the case, it would be great for GAMS Studio to behave in the more expected way (e.g., RStudio uses the version of R on the PATH) or to be able to configure the path to GAMS inside Studio like an option that would persist.