So i have ruby 1.9.2 installed via rvm, and i setup capistrano to use it. However, now that i installed the passenger gem, and I'm trying to setup the nginx module, i've ran into issues. I wasn't sure if i should install a new nginx or use the current install (not sure where that's located). I tried the act of installing a new one, after changing the path in the gem source code as specified here: http://community.webfaction.com/questions/4769/setting-up-ruby-192-p290-via-rvm-nginx. But i get the following error:
checking for C compiler ... found but is not working
./configure: error: C compiler gcc is not found
I instead was able to get nginx to launch my install, by renaming the sym links in <appname>/bin, then recreate symlinks to the various executables in my .rvm directory. However, I am still getting errors that the RVM wrapper scripts are too old (in the logs).
It looks like something went wrong
This does indeed seem like an odd issue, I have been Google Searching for answers and am unable to find the exact instruction you would need based on the info above. However I have found some useful info. The issue appears to be related to permissions,
You might want to submit a support ticket so we can look directly.
answered Sep 29 '11 at 17:32
Got it working:
TLDR: Don't allow passenger gem to compile and install nginx for you. Download the nginx source yourself, and then point the passenger installer to you nginx source.
Kinda Step by Step Instructions:
answered Oct 04 '11 at 09:00