Bugs: Browse | Submit New | Admin

[#27125] Application Environment not passed to Sinatra

Date:
2009-09-17 13:37
Priority:
3
Submitted By:
Ken D (inbox256)
Assigned To:
Vivek Pandey (vivekp)
Category:
grizzly
State:
Closed
Target Release:
 
Summary:
Application Environment not passed to Sinatra

Detailed description
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.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-10-30 23:20
Sender: Vivek Pandey

Fixed. It should be there in next gem release.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
category_idNone2009-10-30 23:31vivekp
artifact_group_idNone2009-10-30 23:31vivekp
close_date2009-10-30 23:312009-10-30 23:31vivekp
status_idOpen2009-10-30 23:20vivekp
close_date2009-10-30 23:202009-10-30 23:20vivekp
resolution_idNone2009-10-30 23:20vivekp
assigned_tonone2009-10-30 23:20vivekp