/home/rich/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'passenger' (>= 0) among 11 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/root/.gem/ruby/2.2.0:/home/rich/.rvm/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0', execute `gem env` for more information
from /home/rich/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec'
from /home/rich/.rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
from /home/rich/.rvm/gems/ruby-2.2.3/bin/passenger-config:22:in `<main>'[Mon Jan 04 03:59:53 rich@shuttle ~] gem list
*** LOCAL GEMS ***
bigdecimal (1.2.7, 1.2.6)bundler (1.11.2)cups (0.1.10)gem-wrappers (1.2.7)io-console (0.4.5, 0.4.3)json (1.8.3, 1.8.1)minitest (5.8.3, 5.4.3)passenger (5.0.23)power_assert (0.2.6, 0.2.2)psych (2.0.17, 2.0.8)rack (1.6.4)rake (10.4.2)rdoc (4.2.1, 4.2.0)rvm (1.11.3.9)test-unit (3.1.5, 3.0.8)nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is oknginx: [emerg] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed[Mon Jan 04 04:01:12 rich@shuttle ~] service nginx startPerforming sanity check on nginx configuration:nginx: [alert] could not open error log file: open() "/var/log/nginx-error.log" failed (13: Permission denied)2016/01/04 04:02:10 [warn] 10065#100112: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/etc/nginx/nginx.conf:22016/01/04 04:02:10 [info] 10065#100112: Using 32768KiB of shared memory for push module in /usr/local/etc/nginx/nginx.conf:43nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok2016/01/04 04:02:10 [emerg] 10065#100112: open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)nginx: configuration file /usr/local/etc/nginx/nginx.conf test failedStarting nginx.nginx: [alert] could not open error log file: open() "/var/log/nginx-error.log" failed (13: Permission denied)2016/01/04 04:02:10 [warn] 10066#100112: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/etc/nginx/nginx.conf:22016/01/04 04:02:10 [emerg] 10066#100112: open() "/usr/local/var/log/error.log" failed (2: No such file or directory)/usr/local/etc/rc.d/nginx: WARNING: failed to start nginx
/var/log/:
-rwxr-xr-x 1 root wheel 5.5K Jan 4 04:06 nginx-error.log
user www wheel;worker_processes 2;
error_log /usr/local/var/log/error.log debug;pid /usr/local/var/run/nginx.pid;
events { worker_connections 1024;}
http { index index.html index.erb; access_log /usr/local/var/log/access.log;
passenger_root /usr/local/lib/ruby/gems/2.1/gems/passenger-5.0.22; passenger_ruby /usr/local/bin/ruby21;
passenger_friendly_error_pages on;
server { listen 80; server_name shuttle.local; include /usr/local/etc/nginx/mime.types; access_log /usr/local/var/log/access_shuttle.log; error_log /usr/local/var/log/error_shuttle.log debug; error_page 404 /404.html; root /Library/WebServer/Documents/shuttle/public; passenger_enabled on; passenger_base_uri /; passenger_env_var DATABASE_USERNAME alpha; passenger_env_var DATABASE_PASSWORD alpha_password;
location / { autoindex off; index index.html; }
location = /img/favicon.ico { access_log off;} } }