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.

Provide a rackup file for Rack-only servers like pow.cx (Feature #789)


Added by Jeffrey MACKO at 2011-12-26 06:20 am. Updated at 2012-01-03 03:35 pm.


Status:Closed Start date:2011-12-26
Priority:Normal Due date:
Assignee:Holger Just % Done:

0%

Category:Libraries
Target version:2.6.0 Estimated time:1.00 hour
Remote issue URL: Affected version:2.5.0

Description

It's just a quick patch to make chiliproject work out of the box with http://pow.cx/
You just have to copy this code in a file named config.ru into the root chiliproject folder and it should work.

# Rack Dispatcher

# Require your environment file to bootstrap Rails
require File.dirname(__FILE__) + '/config/environment'

# Dispatch the request
run ActionController::Dispatcher.new

Associated revisions

Revision 4458a728
Added by Jean-Philippe Lang at 2008-03-07 06:15 pm

Translations (closes #789, #790, #798, #803, #809):
  • Danish added (Mads Vestergaard)
  • Polish updated (Mariusz Olejnik)
  • Finnish updated (Antti Perkiömäki)
  • Simplified Chinese updated (chaoqun zou)
  • Traditional Chinese updated (shortie lo)

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1204 e93f8b46-1217-0410-a6f0-8f06a7374b81

Revision 49cd6f87
Added by Holger Just at 2012-01-03 04:31 pm

[#789] Add config.ru for Rack-only servers

Revision be4d679d
Added by Holger Just at 2012-01-29 09:47 pm

[#849 #789] Remove config.ru as Rails 2.3 doesn work well as a rack-only app

Revision 6fd9bc49
Added by Holger Just at 2012-02-06 10:50 pm

[#849 #789] Remove config.ru - Backport for 2.7

Rails 2.3 doesn't work well as a rack-only app

History

Updated by Holger Just at 2011-12-26 01:30 pm

  • Target version deleted (2.6.0)
  • Subject changed from Don't work with pow.cx to Provide a rackup file for Rack-only servers like pow.cx
  • Tracker changed from Bug to Feature
  • Affected version set to 2.5.0
  • Description changed from It's just a quick patch to make chiliproject work out of the box with htt... to It's just a quick patch to make chiliproject work out of the box with htt... More

Updated by Holger Just at 2012-01-03 03:35 pm

I added the config.ru in 49cd6f8.

However, I didn't use your vanilla code but the recommended version from the Ruby on Rails Guides with a slightly adapted require to not be dependent on the load path.

  • Target version set to 2.6.0
  • Assignee set to Holger Just
  • Status changed from Open to Closed

Also available in: Atom PDF