Jesus Granados
2010-Jul-21 19:13 UTC
cgi_process.rb:22:in `__send__'': undefined method `env_table
.htaccess is like this... AddHandler fcgid-script .fcgi RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ dispatch.cgi [QSA,L] <--- commented RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] if I run.... ./dispatch.rb ./../config/environment.rb:35: warning: already initialized constant MONTHNAMES ./../config/environment.rb:36: warning: already initialized constant DAYNAMES /home/mirumb5/ruby/gems/gems/actionpack-2.3.4/lib/action_controller/cgi_process.rb:22:in `__send__'': undefined method `env_table'' for nil:NilClass (NoMethodError) from /home/mirumb5/ruby/gems/gems/actionpack-2.3.4/lib/action_controller/cgi_process.rb:22:in `dispatch_cgi'' from /home/mirumb5/ruby/gems/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'' from /home/mirumb5/ruby/gems/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:27:in `dispatch'' from ./dispatch.rb:10 Why if it is set to use fcgi .. it show that is trying to use CGI?? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.