very_flat apps use the app name as the controller, so you shouldn't use
hyphens in them (because hyphens are not valid in class names).
-- Yehuda

2008/11/23 IndianGuru <[EMAIL PROTECTED]>

>
> I am using the following configuration -
>
> Windows XP with SP2 box
> Ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
> Ruby Gem 1.3.1
> Merb 1.0.1
> SQLite 3.6.6
> do_sqlite3-0.9.7
> Mongrel 1.1.5
>
> I created a very_flat app by typing:
> C:\> merb-gen very_flat ruby-hello
> Generating with very_flat generator:
> ←[32m     [ADDED]←[0m  .gitignore
> ←[32m     [ADDED]←[0m  merb.thor
> ←[32m     [ADDED]←[0m  ruby-hello.rb
> ←[32m     [ADDED]←[0m  Rakefile
> ←[32m     [ADDED]←[0m  spec
> C:\>
>
> To run my app, I did:
> E:\ruby-hello>merb -I ruby-hello.rb
> Loading init file from ruby-hello.rb
> merb : worker (port 4000) ~ Starting Mongrel at port 4000
> merb : worker (port 4000) ~ Successfully bound to port 4000
>
> I pointed my web browser to http://localhost:4000/ but that threw a
> page full of errors on the browser window. On the Mongrel window, I
> got:
> merb : worker (port 4000) ~ Started request handling: Mon Nov 24
> 09:20:39 +0530 2008
> merb : worker (port 4000) ~ Controller class not found for controller
> `ruby-hello'
>
> What's the solution?
>
> Thanks.
> >
>


-- 
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to