Get Merb
Install the gem
$ sudo gem install merb
If you're using a version of rubygems prior to 1.2, update:
$ sudo gem update --system
Or install from source
If you feel like living on the edge, or you want to contribute with some code or documentation.
You can find the updated documentation for working with edge at http://wiki.github.com/merb/merb/howto-install