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)
Description
With the config.ru
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
Added css classes to the HTML body based on the theme, controller, and action. #819
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3911 e93f8b46-1217-0410-a6f0-8f06a7374b81
[#819] set RAILS_ENV if only RACK_ENV is provided
History
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