I am trying to install Rstudio Server in Mac mini running on macOS Mojave. I followed this link to build Rstudio server from the source. I also looked at this link. I could successfully install it with no problems. But I get this error:

$ cd /usr/local/lib/rstudio-server/bin
$ rserver --server-daemonize=0  --auth-minimum-user-id=500 
rserver: command not found

I have the .plist and everything in the right place (needed to run rstudio server in the backend) but I don't get why does it say rserver command not found? I can provide any other detail if needed.


Solution 1:

When any Unix/MacOS/BSD resides on the current directory and this directory is not in your environment variable PATH, you must prefix it with ./ to have it executed.

According to you, the binary IS on the current direcoty, so the command line has to be:

./rserver --server-daemonize=0  --auth-minimum-user-id=500