Mike-
What version of mongrel do you have installed? This error looks like
you have an outdated mongrel. Install mongrel 1.0.1 an d this will go
away.
Cheers-
-Ezra
On May 14, 2007, at 10:16 AM, Mike Evans wrote:
> Hi, first off thanks Ezra for Merb - it's certainly interesting and
> I'm keen to have a play. However, I'm having difficulties in getting
> started. I've followed the docs for setting up mrblog and everything
> seems to be installed correctly, and merb appears to start fine:
>
> $ merb
> you must install the markaby gem to use .mab templates
> you must install the haml gem to use .haml templates
> ActiveRecord session mixed in
> Rails session compatibilty on.
> Compiling routes..
> merb init called
> Merb started with these options:
> ---
> :dist_root: /path/to/merb/mrblog/dist
> :allow_reloading: true
> :environment: development
> :merb_root: /path/to/merb/mrblog
> :cache_templates: true
> :use_mutex: true
> :config: dist/conf/mup.conf
> :host: 127.0.0.1
> :show_error: true
> :port: "4000"
> :sql_session: true
>
>
> However any request to 127.0.0.1:4000 returns:
>
> Mon May 14 17:55:30 BST 2007: ERROR: undefined method `each' for
> #<MerbUploadHandler:0x234bcfc>
>
> with nothing in the browser or in the log. Similarly, using a newly
> generated test app, I get:
>
> Mon May 14 17:56:27 BST 2007: ERROR: undefined method `each' for
> nil:NilClass
>
>
> I've tried both installing via gem and from trunk. Without a trace
> and a line number it's hard to know where to start. Am I missing
> something really obvious here? It's been known to happen before...
> Any help much appreciated!
>
> Cheers,
> Mike
> _______________________________________________
> Merb-devel mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/merb-devel
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)
_______________________________________________
Merb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/merb-devel