Beginner’s guide to installing merb
Merb is very cool, but one thing that bothers me is that it is still tough to simply get installed - even at 1.0. The guys working on merb are seriously awesome and amazing. Their progress might even be told in programming history books one day, but installing all the parts of merb has always been a bit painful.
Here’s what I did.
First your gonna need datamapper or the install from merb edge will send a hissy fit.
sudo gem install dm-core dm-more
(hopefully, this will soon just be datamapper - would make more sense)
Then merb:
sudo gem install merb --source http://edge.merbivore.com
Then merb-plugins
cd ~/sources git clone git://github.com/wycats/merb-plugins.git cd merb-plugins sudo rake install
(hopefully this will become a gem soon too)
You’re also gonna need webrat - even if you don’t end up using it.
sudo gem install webrat
You’re also going to have to create a test database once you setup an app. To do that first edit your database.yml file, then do the following to actually generate that database.
rake db:create MERB_ENV=testThen run the migrations with:
rake db:automigrate MERB_ENV=test(there used to be a db:test:clone rake task for this, but it seems to be no more as of this posting so you instead specify the MERB_ENV as the ‘test’ environment)
Now you’ll be able to run autotest

afrench | November 15, 2008
sudo gem install data_mapper
it’ll set you up with data-objects, dm-core, and a few of the most frequently used gems from dm-more
simple as that
Double Shot #333 « A Fresh Cup | November 17, 2008
[...] Beginner’s Guide to Installing Merb - Updated for Merb 1.0. Still some hoops to jump through. [...]