WebFaction
Community site: login 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 29 Sep '11, 11:32

agmcleod
112
accept rate: 0%

edited 29 Sep '11, 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

(03 Oct '11, 10:05) THEM

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,

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.

permanent link

answered 29 Sep '11, 17:32

johns
5.3k312
accept rate: 23%

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

Thanks for the response.

(30 Sep '11, 06:35) agmcleod

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.
permanent link

answered 04 Oct '11, 09:00

THEM
749
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×186
×28
×4

question asked: 29 Sep '11, 11:32

question was seen: 4,184 times

last updated: 04 Oct '11, 09:00

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM