login community faq

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

Update:

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

asked Sep 29 '11 at 11:32

agmcleod's gravatar image

agmcleod
12

edited Sep 29 '11 at 14:59

I'm running into this issue as well. What was the final resolution for this? Support ticket resolution or renaming symlinks? (if the symlinks, what did you link to?)

Thanks

(Oct 03 '11 at 10:05) THEM THEM's gravatar image

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,

1
2
http://stackoverflow.com/questions/6104086/need-help-setting-up-passenger-with-rvm
http://blog.npjcomplete.com/post/3308023624/rvm-passenger-3-nginx

You might want to submit a support ticket so we can look directly.

answered Sep 29 '11 at 17:32

johns's gravatar image

johns ♦♦
340427

Yeah i did last night with all the details: [#ING-166013]: RVM Install

Thanks for the response.

(Sep 30 '11 at 06:35) agmcleod agmcleod's gravatar image

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:

  1. Install passenger gem
  2. Change source according to this: http://community.webfaction.com/questions/4769/setting-up-ruby-192-p290-via-rvm-nginx
  3. Download and unpack nginx source
  4. run passenger-install-nginx-module
  5. When the installer asks you who should download and compile the source, specify you will do it. I think it says ("Advanced") or something, but just follow the prompts, its really quite simple.

answered Oct 04 '11 at 09:00

THEM's gravatar image

THEM
76

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited