Oh, wow, putting the CMDSTAN command before the using statements fixed that error. I should just add that line to my start_up.jl, right?
Now I am getting a new error, where it looks like it doesn’t have permission to create a new file? I feel like we’re close! Thanks again for all the help so far.
ERROR: LoadError:
Error when compiling SampleModel bernoulli:
<built-in>: fatal error: opening dependency file stan/src/stan/model/model_header_threads.d: Permission denied
compilation terminated.
Assembler messages:
Fatal error: can't create src/cmdstan/main_threads.o: Permission denied
make: *** [src/cmdstan/main_threads.o] Error 1