> 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' > 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 > Did you extract with the correct flags as per http://www.rubyonrails.org/show/GettingStartedWithRails ? Check the permissions on the log files in rails/log and make sure they are writeable. regards, Martin