rod mclaughlinI created this blog to illustrate my experiences with the Ruby application framework 'Merb', Ruby on Rails' competitor, which is apparently much faster and more modular... I initially intended to get some 'blogging app' from the web, and adapt it. I downloaded Mephisto, Rock, Feather, Fightinjoe and Pmpknpi from GitHub, and none of them worked. Merb always had some issue. Not quite true: Mephisto is a RAILS app that doesn't work with any of the Rails versions I had installed (2.0 +), and Rock is a MERB app which does work - but it doesn't do anything. I got further with Feather than any of the others, and had fun extending Merb::Router so it had a method Feather needed which had been deprecated (I added this to the top of application.rb):
The power of Ruby! I've no idea what the above code does, just that Feather needed it. Feather still didn't work though - I can't remember at what point I gave up. Merb is in rabid development. It is not well documented. The great leap forward which occured during 2008, when version 1.0 was released, rendered all the tutorials obsolete. For example, I couldn't get this one working with Merb 1.0.3: www.devx.com/webdev/Article/39735 even when I downloaded the finished app. The way the notes and documentation are written are difficult for the newcomer, unlike Rails. When you have an error and google it, you don't usually find anything you can use...
For example, I googled 'merb tests' to find out how to run tests in
Merb. I found http://merbivore.com/features.html which says
Great. But how do you run the tests? Oh! It's This tells me to install 'webrat'.
This is not the end of the world for a Unix developer.
But it is the end of the
|