Re: problem starting rails

Paul Wright
2005-09-27T11:57:18Z

The quick (temporary I guess) fix is to edit clean_logger.rb, on my
FC3 server it''s located at:
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support

Comment out:
remove_const "Format"

And change the order of the arguments in format_message to look like:
def format_message(severity, timestamp, progname, msg)

That got my application back up and running with working logs after
upgrading Ruby to 1.8.3 - I''d imagine they''ll be a more robust
solution in the next release of Rails.  The ticket to watch is
probably:
http://dev.rubyonrails.com/ticket/2263

Paul.

On 24/09/05, M. Edward (Ed) Borasky
<znmeb-2WxwdZd67h7R7s880joybQ@public.gmane.org>
wrote:
> Ah ... I was just going to post the same message. Gentoo picked up Ruby
> 1.8.3 and "rails demo" crashed. I assumed that was it, but
I''m glad to
> have confirmation. For now, I think I''ll drop back to Ruby 1.8.2.
Where
> does one look for the Rails fix?
>
> David Heinemeier Hansson wrote:
>
> >>I using ruby 1.8.3 and rails from gem, and this is a linux system
(UHU
> >>Linux)
> >>
> >>
> >
> >Yes, this is a known incompatibility between Rails 0.13.1 and Ruby
> >1.8.3. We should have it fixed shortly.
> >--
> >David Heinemeier Hansson
> >http://www.loudthinking.com -- Broadcasting Brain
> >http://www.basecamphq.com   -- Online project management
> >http://www.backpackit.com   -- Personal information manager
> >http://www.rubyonrails.com  -- Web-application framework
> >_______________________________________________
> >Rails mailing list
> >Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> >http://lists.rubyonrails.org/mailman/listinfo/rails
> >
> >
> >
>
> --
> M. Edward (Ed) Borasky
>
> http://www.borasky-research.net/
> http://borasky-research.blogspot.com/
>
> http://pdxneurosemantics.com
> http://pdx-sales-coach.com
> http://algocompsynth.com
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>