ruby on rails - Installing Passenger with NGINX as non-root -


i setting server not going use root install rvm,ror, nginx, etc. logon user id , run:

\curl -l https://get.rvm.io | bash -s stable --rails --autolibs=enabled  

rvm, ruby , rails installed nicely.

rvm -v ruby -v rails -v 

all return latest version numbers, planned

now installing passenger nginx

gem install passenger 

then preparing /opt/nginx folder

sudo mkdir /opt/nginx sudo chmod 777 /opt/nginx 

as complaining cant create folder (as not root) coming to:

passenger-install-nginx-module 

it stops with:

compiling passenger support files... # /home/myapp/.rvm/wrappers/ruby-2.0.0-p0/rake nginx:clean nginx release=yes rake aborted! cannot load such file -- rubygems/builder 

whats next?

you using ruby 2.0. ruby 2.0 supported since phusion passenger 4. phusion passenger 3 doesn't support it. phusion passenger 4 going released next week, can grab release candidate 6 gem install passenger --pre.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -