Re: Ubuntu & Rails, can''t get it to work

Bart Zonneveld
Wed, 21 Feb 2007 09:34:33 -0000

On 21-feb-2007, at 9:53, Bart Zonneveld wrote:

>
> Hey list
>
> While migrating our servers to brand new spanking Ubuntu machines, I
> installed everything, but can''t get Rails to work.

After further investigating, I came up with some more weirdness. When
I run dispatch.fcgi from the command-line, I get the following error
in my production.log:

undefined method `downcase'' for nil:NilClass
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/
request.rb:18:in `method''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/
base.rb:933:in `log_processing''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/
base.rb:407:in `process_without_filters''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/
filters.rb:377:in `process_without_session_management_support''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/
session_management.rb:117:in `process''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in
`dispatch''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in
`process_request''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in
`process!''
/usr/lib/ruby/1.8/fcgi.rb:594:in `each_cgi''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in
`process!''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in
`process!''
public/dispatch.fcgi:24

Some more info:
uname -a
Linux goserve-20061124 2.6.15-23-server #1 SMP Tue May 23 15:10:35
UTC 2006 i686 GNU/Linux
ruby -v
ruby 1.8.4 (2005-12-24) [i486-linux]
rails -v
Rails 1.2.2

But now I''m even more stuck.....