Posts Tagged ‘passenger’

Gem issues with Passenger

March 31st, 2009

I was ignorantly happily letting my gems be pulled in automatically on my previous server using Nginx + Mongrel_Cluster and this seemed to pose no problems.

BUT! when I switched to a new host, I went with an Apache + Passenger (mod_rails) setup and my servers would start but would just offer “Error 500″.

I checked the logs and it seemed that it wasn’t loading RedCloth so I added the following to my environment.rb file and it all worked fine!

1
2
3
# config/environment.rb
require 'rubygems'
require 'redcloth'