studio icon indicating copy to clipboard operation
studio copied to clipboard

GAMS Studio should use GAMS on the PATH

Open christophe-gouel opened this issue 4 months ago • 1 comments

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: Image GAMS on the PATH: Image

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.

christophe-gouel avatar Sep 18 '25 06:09 christophe-gouel

Thanks for bringing this up! We will discuss the best approach about this in the team.

LutzWestermann avatar Sep 19 '25 09:09 LutzWestermann