ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

RAILS_ENV is not properly set if running under thin (Bug #819)

Added by Holger Just at 2012-01-05 11:56 pm. Updated at 2012-01-06 12:07 am.

Status:Closed Start date:2012-01-06
Priority:Normal Due date:
Assignee:Holger Just % Done:


Target version:2.7.0
Remote issue URL: Affected version:2.6.0


With the introduced in #789 thin starts Chili as a Rack app and consequently only sets RACK_ENV instead of RAILS_ENV. This leads to ChiliProject starting in the default development mode.

Associated revisions

Revision a544a1e5
Added by Eric Davis at 2010-08-04 03:17 am

Added css classes to the HTML body based on the theme, controller, and action. #819

git-svn-id: svn+ssh:// e93f8b46-1217-0410-a6f0-8f06a7374b81

Revision 4c0b1953
Added by Holger Just at 2012-01-06 12:56 am

[#819] set RAILS_ENV if only RACK_ENV is provided


Updated by Holger Just at 2012-01-06 12:07 am

Fixed it in 4c0b195. Thanks to Ben Cooksley for finding the bug and helping me fix it.

Now thinking about whether this justifies a patch release or not. Any thoughts?

  • Status changed from Open to Closed

Also available in: Atom PDF