I used script/server -e production to start rails in production mode. It did and I got no errors. However how do I tell if it is in production mode? I tried a n
I found it much easier to just restart the rails server and read the second line on the command line:
Running rails s -e production outputs:
=> Booting Puma
=> Rails 4.2.4 application starting in `production` on http://localhost:3000
Had Webrick in the example but some people didn't understand how changing servers would just substitute the name. Updated for clarity.