This project is archived and is in readonly mode.

#2568 ✓duplicate

dont remove cgi support + reasons

Reported by nand | April 27th, 2009 @ 01:43 PM | in 2.x

Please dont remove cgi support from rails or merb. CGI is considered slow, however when using modern operating system that caches disc reads in memory (eg. linux) its not really slow. It allows sharing of some resurces between aplications while not comprimizing security. Rails has huge memory footprint - >60MB, while for example PHP has 2,5MB memory foorprint. This makes almost impossible to deploy effeciently rails in shared enviroments for multiple users. CGI is one way to somehow deal with this flaws. And really it is not that slow as some ppl tend to belive if you use memory cacheing in os. Rails 2.3.2 does not work with cgi anymore

/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/cgi_process.rb:22:in __send__': You have a nil object when you didn't expect it! (NoMethodError) [Mon Apr 27 14:26:24 2009] [error] [client] The error occurred while evaluating nil.env_table

While 2.2.2 has no problems with it.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket