I’ve used rcov for a long time to check the code coverage on my Ruby applications. Code coverage shows what parts of an application have not been tested. It can be abused if it’s used as an absolute metric (must be 99%+) but it’s great to see where fragile parts might be located. A problem …
Tag: ruby
2009 Goals
Everyone’s talking about their 2009 goals now, I guess the New Year tends to do that to people. Not to feel left out, I’m posting my 2009 goals. As a freelancer and a software developer, a lot of them are about building new software applications and learning technology. One thing I learned in 2008, was …
Redmine Railroaded – Model and Controller diagrams
With large systems, it’s useful to be able to visualize the relationships between the different components and systems. Redmine is no exception, weighing in at a hefty 286 classes and almost 14,000 lines of application code. The RailRoad gem aims to help automate the generation of Ruby on Rails class diagrams, showing methods and fields …
Hosting git-wiki with Phusion Passenger
I recently converted my server to use Phusion Passenger to host my Rails and Rack applications. Phusion Passenger has pretty good for Rack applications and Sinatra but I was running into a lot of issues with hosting my git-wiki. After some debugging, I found git-wiki wasn’t loading the view path correctly while hosted under Passenger. …
All aboard!! Now Phusion Passenger powered
A few days ago I converted my Ruby on Rails server to run Phusion Passenger. I’ve been running nginx and mongrels for about a year now and they have served me well (no pun intended). The only problem is my RAM been maxing out, but I guess that happens with 5 mongrels, a sinatra app, …