I am running a Sinatra app under glassfish. In glassfish.yml I set the app environment to production. I also have passed it on the command line. It writes out:
Starting GlassFish server at: 10.16.8.14:4568 in production environment...
So GF has read the env correctly. Unfortunately, Sinatra then comes up in development mode. This forces me to manually set the environment in my sinatra code.
Regards,
KD
|