Closed heymatthenry closed 11 years ago
I've seen this come up a few times before, but haven't been able to track down what's causing it.
In general, I like to do a deploy after a ruby upgrade, and that has been enough to fix the problem.
For the benefit of people looking for this in the future, the problem is that artifacts from a previous build are still around when you go to build Passenger. Running "rake clean" to clean out Passenger before building it again is required.
This was fixed a while ago and never close. Building the apache module now runs rake clean first.
When upgrading ruby on a remote server via cap deploy:setup, the passenger apache module fails to compile. The error output looks like this:
[snip]
I'm able to successfully build the module by hand using
sudo /usr/bin/passenger-install-apache2-module