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.