Robby Colvin

My corner of the web

My Merb Textmate Bundle

Posted by geetarista November 16, 2008

The awesome Dr Nic Williams has a Textmate bundle for Merb that makes development go a bit faster. If you’re used to using Rails in Textmate, you are most likely familiar with the large amount of snippets and commands that are available. Since Merb is still so new, the amount of snippets and commands for Textmate are not as robust as Rails. So I decided to fork Dr Nic’s Github repo and try to help out as much as I can. So far I’ve only added a few validation snippets for Datamapper, but I’m hoping to add much more as I find the time:

http://github.com/geetarista/merb-tmbundle

Please let me know if you have any changes or recommendations for these snippets. Hopefully more people will take a little time to add to Dr Nic’s repo so we can have a nice suite of snippets for making development in Merb even faster.

Merb/Rubygems Upgrade Errors

Posted by geetarista November 13, 2008

The Merb team worked very hard to realease Merb 1.0 after several release candidates and it is a wicked framework. Upgrading is pretty easy since all you have to do is install the Merb metapackage. However, several people have been having issues with Rubygems when upgrading to the new version of Merb. If you’re in Leopard, you may get a response saying that Merb requires Rubygems version > 1.3 to work. You may try to upgrade Rubygems, but you get another response saying there is nothing to update. Hmmm….what to do?

Well, the fix is pretty simple. All you have to do is run one line of code (technically it’s two, but this is easier):

sudo gem install rubygems-update && sudo update_rubygems

Then all you have to do is install Merb and everything should work fine:

sudo gem install merb

Now you can play around with the beautifulness that is Merb 1.0!