> Then, my current way to avoid this problem is overriding
> FCGI::RecordBuffer#env to import ENV in dispatch.fcgi.
>
> > require File.dirname(__FILE__) + "/../config/environment"
> > require 'fcgi_handler'
> >
> > class FCGI
> >     class RecordBuffer
> >         def env
> >             h = {}
> >             h.update(ENV)
> >             @envs.each { |e| h.update(e.values) }
> >             return h
> >         end
> >     end
> > end
> >
> > RailsFCGIHandler.process!
>
> I don't think that Ruby-FCGI should not include this function because
> it must be just a protocol stack.
>
> Could you show me your opinion?

Hi There,

What particular problem have you hit that would require these changes?


-- 
Cheers

Koz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to