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
Post a Comment