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

Francesc Esplugas
Thu, 22 Feb 2007 10:29:40 -0000

Try this "manual" for installing Rails on Ubuntu.

	http://wiki.slicehost.com/doku.php?id=install_ruby_on_rails

Francesc

On Feb 22, 2007, at 11:23 AM, Bart Zonneveld wrote:

>
>
> On 2/21/07, Ed Howland
<ed.howland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: 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.
>
>
> Correct, I''m using Dapper Drake.
> I manually/apt-get remove all RoR related fluff, and recompiled
> ruby from source, renewed my rubygems installation, etc etc.
>
> When I create a testapp, and run ruby public/dispatch.fcgi, the
> following error occures:
>
> You have a nil object when you didn''t expect it!
> The error occured while evaluating nil.downcase^M
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/
> request.rb:18:in `method''^M
> /usr/lib/ruby/gems/1.8/gems/actionpack- 1.12.5/lib/
> action_controller/base.rb:933:in `log_processing''^M
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/
> base.rb:407:in `process_without_filters''^M
> /usr/lib/ruby/gems/1.8/gems/actionpack- 1.12.5/lib/
> action_controller/filters.rb:377:in
> `process_without_session_management_support''^M
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/
> session_management.rb:117:in `process''^M
> /usr/lib/ruby/gems/1.8/gems/rails- 1.1.6/lib/dispatcher.rb:38:in
> `dispatch''^M
> /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in
> `process_request''^M
> /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in
> `process!''^M
> /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in
`each_cgi''^M
> /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in
> `process!''^M
> /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in
> `process!''^M
> public/dispatch.fcgi:24
>
> ruby -v gives:
> ruby 1.8.5 (2006-12-04 patchlevel 2) [i686-linux]
> rails -v gives:
> Rails 1.1.6
>
> I am slowly going insane, please help me out here :)
>
>
>
> >



Cesc

--
name. francesc.esplugas
jabber. fesplugas-/eSpBmjxGS4dnm+yROfE0A@public.gmane.org
email. francesc.esplugas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
voice. 34 678 681 603