My First Merb App Part I – Setup


My first app ofcourse has to be:

outputs are familar, similar to Rails. http://localhost:4000 to get the Merb default app screen.

Pretty straight forward so far.  Now to actually have it do something worth while.

Next thing to do is make a controller, I ran Merb-gen just to see what was available.

tada! http://localhost:4000/HelloWorld/index or http://localhost:4000/hello_world/index now works.

Looking at the file controller/hello_world.rb you get


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.