Running a Sinatra app under glassfish, I set the app environment to production in glassfish.yml. 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. |