jump to navigation

Running Sinatra with Phusion Passenger April 19, 2009

Posted by John Dewey in Passenger, Rack, Ruby, Sinatra.
1 comment so far

Here is a config.ru for use with Sinatra. It also includes a logging section for your app. This configuration works on Sinatra (0.9.1.1). Quite a few of the examples out there use the deprecated Sinatra::Application.default_options vs set.

:update:

Updated config.ru with Blake’s suggestions.

Advertisements

Passenger with Rails 2.3 application (MissingSourceFile) March 1, 2009

Posted by John Dewey in Apache, New Category, Passenger, WebServers.
11 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.