Merb 1.0 is here

Posted by chetan
on Saturday, November 08
Yay!! After a long haul Merb 1.0 is here. Install it simply with thor or gem.

Thor


sudo thor merb:stack:install 
Somehow, thor still doesn't install merb-gen

sudo thor merb:stack:install merb-gen
If you use activerecord, parts, stories then install merb-plugins still at version 0.9.13

sudo thor merb:stack:install merb-plugins
Finally, datamapper's wrapper for MySQL - do_mysql still at version 0.9.6

sudo thor merb:stack:install do_mysql

Gem


sudo gem install merb
If somehow merb gem is not on rubygems get it from merbivore.

gem install merb --source http://edge.merbivore.com
Happy Merbing!!

merb_annotate_models 0.0.2

Posted by chetan
on Thursday, November 06
I have just updated merb_annotate_models gem by Jeremy Burks to work with latest merb versions.

If you have a merb based web application (obviously with activerecord adapter) please download merb_annotate_models from http://github.com/cmittal/merb_annotate_models into some directory on your system and run
sudo rake install
This will check whether you have all gems, merb_annotate_models depends on, installed or not - if yes, you will have merb_annotate_models-0.0.2 installed.

I have also created a base merb app "Merbstick-ar" using activerecord as orm with all dependencies to merb_activerecord and merb_annotate_models. Please download it from http://github.com/cmittal/merbstick-ar

If somehow things don't work right for you then drop me an email at den1jay AT gmail DOT com

Installing Merb --edge with no hitches 0

Posted by chetan
on Monday, November 03
I had been googling on how to install merb-edge with no hitches, glitches etc i.e. a very clean install. Both http://merbivore.com and http://merb.4ninjas.org host an incomplete list of gems on which merb-edge is dependent on. The instructions, for *nix based systems, of my attempt are as follows:-

1) Install all the dependencies


sudo gem install addressable rack rake thor rspec mongrel hoe diff-lcs json json_pure erubis hpricot mocha rubigen haml markaby mailfactory ruby2ruby templater
2) I use thor to install merb-edge as it is more convenient for me. You can use sake. Create a folder somewhere and get thor build file for merb.


thor install http://merbivore.com/merb.thor
3) CD to the folder you created in step 2 and install merb-edge via thor.


sudo thor merb:stack:install --edge
4) thor when installing merb-edge doesn't install merb-gen by default. We need to install it manually from source; we can use thor for this too.


sudo thor merb:source:install merb-gen
5) Install do_mysql (datamapper api for mysql DB) via thor too. If you get some build error then you need to install header (dev) files for mysql-client.


sudo thor merb:source:install do_mysql
Happy merbing!