Find missing RSpec view tests March 16, 2009
Posted by John Dewey in Code, RSpec, Rake.2 comments
I created a quick little rake task which finds missing RSpec view tests. It assumes the extension is .haml, however, this can be overridden with the EXTENSION environment variable.
rake spec:missing_view_templates or EXTENSION=erb rake spec:missing_view_templates
Passenger with Rails 2.3 application (MissingSourceFile) March 1, 2009
Posted by John Dewey in Apache, New Category, Passenger, WebServers.8 comments
I’m such an idiot. I spent the last few days, trying to figure out the following error reported on my Ubuntu 8.10 Passenger install.
Error message: no such file to load -- application (MissingSourceFile) Exception class: Passenger::UnknownError
I was installing libapache2-mod-passenger_2.0.3 from the apt-get repo, which does not understand the application_controller.rb rename.
2.0.6 mod-passenger has yet to show up in the apt-get repo. You can use these instructions to install the brightbox mod-passenger build.