I have solved this problem with changing the access permissions of the "log"
directory to 777. The problem in my case was that the "apache" user has to
be able to create "production.log" in that directory.
Hope this helps.
Lubo
Just trying to do the simple
examples seen in both the tutorial and video.
But when I try to access
my newly created controller
(./scripts/new_controller Foo) in the browser
by accessing
'http://rails/foo/' I get this:
/home/fredde/projects/ruby/rails/public/../vendor/railties/../../vendor/railties/dispatcher.rb:32:in
`rescue_errors': undefined method `info' for nil:NilClass
(NoMethodError)
from /home/fredde/projects/ruby/rails/public/../vendor/railties/../../vendor/railties/dispatcher.rb:14:in
`initialize'
from /home/fredde/projects/ruby/rails/public/dispatch.cgi:5:in
`new'
ยทยทยท
--- ruby-talk@ruby-lang.org wrote:
from /home/fredde/projects/ruby/rails/public/dispatch.cgi:5
[Tue Jul 27 02:00:06 2004] [error] [client 127.0.0.1] Premature end of
script headers: /home/fredde/projects/ruby/rails/public/dispatch.cgi
For some reason 'ActionController::Base.logger' is nil. I don't see
anywhere it is initialized either so I'm not sure what I'm missing.
Have I forgot something?
//F