Merb is a web development framework, implemented in Ruby. Having grown out of the Ruby on Rails community, Merb benefitted significantly from the lessons that had been learnt from working with Rails. The Merb team went on to make a "Faster, Lighter, More Agile" framework, which clearly owed a lot to the excellent design of Ruby on Rails.
In December 2008 it was announced that the Rails and Merb projects would be merging to form Rails 3, allowing many of the ideas and improvements that had been included in Merb to be incorporated back into Rails. Rails 3 will be a very interesting version to watch...
You've built your Merb app, and you want to get it running on your web server. You could use Capistrano, but if you prefer the simple things in life you might find that Vlad is a better fit.
This isn't particularly difficult, but if you're not familiar with Postgres on Ubuntu it could take you ten minutes to work it out:
$ sudo apt-get install postgresql-8.2 postgresql-server-dev-8.2 -y $ sudo apt-get install libsqlite3-dev -y $ sudo gem install merb do_postgres
merbgem depends on the
do_sqlite3DataMapper database driver, so we need the
libsqlite3-devpackage in order to compile it. You can remove it afterwards if you like.
I've just started writing a new app with merb and datamapper, so decided to start out on the edge. The preferred way to do it these days is with sake, a tool for running system wide rake tasks. It's rather neat, and should (in theory) have made my installation of the edge versions of merb and datamapper extremely easy.
I did hit a couple of issues running them on Ubuntu 7.10, hence this article…
I've been trying out Merb recently, and I'm liking it. However, I've spent a lot of time stumbling around the interweb looking for examples of what I've been trying to achieve. So far I've been coming up short. The Merb API docs are good, but you can't beat a good example.
In which I talk about how to find chocolate biscuits with DataMapper...