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

Ed Howland
Wed, 21 Feb 2007 19:41:08 -0000

>
> 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.....

I''m guessing Ubuntu Dapper Drake.
I''d recompile the latest version of ruby 1.8.5 and install it.
Don''t
use the apt-get version, uninstall if you are.

My blog has some hints on this: I am going to update it for Edgy Eft,
eventually.

--
Ed Howland