I am running ubuntu, rvm, passenger, with a rails 3 application.
I have to set the GEM_HOME and GEM_PATH using SetEnv in my host file as its done in Apache, but I am not sure how this is done in nginx.
Can this be done somehow?
I am running ubuntu, rvm, passenger, with a rails 3 application.
I have to set the GEM_HOME and GEM_PATH using SetEnv in my host file as its done in Apache, but I am not sure how this is done in nginx.
Can this be done somehow?
If you are using CGI then the link below documents the method of assigning string, variables and values which are passed to the nginx FastCGI server.