I just spent a few hours trying to get this configuration sorted out, so I thought I’d share my notes. My goal was to get Integrity running on Passenger with Ruby Enterprise Edition. However, I couldn’t get the user Integrity/Apache was running as to use the proper PATH.
Whenever Integrity would try to build my project, I’d get an error about rake not being able to be found: sh: rake: not found