monogreen - Tank you very much !

In lieu of an introduction...

…a shameless plug to my flickr photostream at: http://www.flickr.com/photos/mgpalmer

Phusion Passenger and bundler error

I’ve been promising myself that I would try to share my coding experiences, especially bugs with nonobvious solutions, with the rest of the world. After all, how many times was I saved by googling some error message I couldn’t make heads or tails of, and someone already had an answer…

So hear this: Using Phusion Passenger but not trying to use bundler, you find this error message when starting Passenger:

"no such file to load -- bundler"

The solution for me: Check for a Gemfile in the Rails root. Apparantly Passenger tries to be helpful and tries to load bundler, which fails unless you’ve got it installed (which in my case, I couldn’t). If you don’t use bundler anyway, throw the file out.