Questions tagged [phusion-passenger]

Phusion Passenger (originally called mod_rails or mod_rack) is a Rails application server designed for easy deployment and low maintenance hosting of Rack apps, including Rails, Sinatra, Camping, and other ruby-based web development micro-frameworks. Passenger supports both Apache and NGinx webservers and is written in C++.

More about Phusion Passenger: http://www.modrails.com/

482 questions
2
votes
1 answer

Apache running as user 'apache', but files it creates are owned by 'nobody'

I have apache httpd 2.2 running as user 'apache'. However, any files it creates are owned by 'nobody'. Also, it can only access things that are accessible by user 'nobody'. It sure seems like apache is running as 'nobody', but the config and ps…
Jeremy Ross
  • 123
  • 4
2
votes
1 answer

Mysterious Ruby processes on Rails server

I'm trying to chase a bug on a Rails site and I've noticed that there are recurring Ruby processes which are hogging CPU and won't go away. I'd like to suss out what's starting them and how to either stop them or give them the resources they need to…
pjmorse
  • 1,550
  • 1
  • 17
  • 34
2
votes
2 answers

Routing non GET requests to passenger in Nginx

I have a Rails app that is caching pages in multiple custom directories. Everything works fine other than non GET requests, which are delivering 405 errors in Nginx because my configuration is not routing them to passenger. My question is what is…
i0n
  • 283
  • 1
  • 3
  • 8
2
votes
1 answer

Passenger and ServerAlias not cooperating

I have a ruby application that runs on a server with multiple IP addresses and mutliple vhosts. Here is the configuration of the problematic virtual host: ServerName realname.example.com ServerAlias alias.example.com …
Pyzo
  • 135
  • 1
  • 1
  • 7
2
votes
3 answers

Ruby on Rails Process Stuck at 100% CPU

Environment: Ubuntu 10.04 LTS, Passenger, Nginx 1.0.6, MySQL, Ruby 1.9.2, Rails 3.1 After some amount of time, the server ends up with a gradually increasing number of processes that are stuck at 100% CPU PID USER PR NI VIRT RES SHR S…
Andy
  • 121
  • 1
  • 5
2
votes
1 answer

NGINX - Two different rails apps under same domain

I have two different Rails (passenger) apps that I wan to host on one server: somehost.com/ <-- App #1 somehost.com/admin <--- App #2 Tried playing with the 'location' directive, but failed to have both operate. Can someone suggest the correct…
Boris
  • 123
  • 6
2
votes
4 answers

Really high load readings while the server seems idle

I was wondering if any of you encountered such an issue, that the reported load of the server is really high though none of the parameters seems to indicate that its busy at all. I would need to check this again, but I think this only happens after…
HouseMD
  • 41
  • 5
2
votes
1 answer

Passenger on Apache2 - how to make a site appear on root

I'm new to apache2 and passenger to set-up rails apps and followed a tutorial on how to get redmine (rails app) set up (http://xdissent.com/2010/05/04/github-clone-with-redmine/). It all works great but to access the app you need to go to the…
Adam
  • 145
  • 6
2
votes
2 answers

add passenger module to nginx without sources

I have a ubuntu 10.04 server and i've installed nginx from repositories with: apt-get install nginx i have all my sites running and i want to install redmine but i'm having problems with passenger. I have installed passenger but i can add it to…
Oterox
  • 197
  • 1
  • 2
  • 6
2
votes
1 answer

Rails program is not being run on apache + passenger - only directory listing

I have successfully installed Phusion passenger + Apache 2 + Rails 3.1 program + git on a linux Debian 6. I ran passenger-install-apache2-module and followed the configuration instructions. I followed also the setup instructions at…
user909943
2
votes
1 answer

Nginx 404 Deploying Ruby on Rails Application with Phusion Passenger

There are a lot of moving parts here that I have varying levels of familiarity with, so I'm hoping another set of eyes will help me discover why I'm getting a 404 after deploying my Rails app on Nginx running Phusion Passenger. My app's /public…
Bryan Woods
  • 101
  • 2
  • 6
2
votes
1 answer

How to automate an installation of Phusion Passenger and Nginx?

When the command: ./passenger-install-nginx-module is run, it asks a bunch of questions when logged in to the server. The aim is to automate this process, how can this be done if it requires specific answers during the installation?
Blankman
  • 2,891
  • 10
  • 39
  • 68
2
votes
1 answer

Why does installing libapache2-mod-passenger require Ruby 1.8?

Ubuntu 10.04. I have installed Ruby 1.9.2 through rvm and want to serve rails applications with Passenger. However, if I sudo apt-get install libapache2-mod-passenger, it's telling me that ruby, ruby1.8, rubygems, rubygems1.8, irb1.8, rdoc1.8 is…
Artem Pakk
  • 147
  • 7
2
votes
1 answer

Passenger is preventing Bundler from seeing my git gems

I'm attempting to deploy a Rails 3.1 application to an Ubuntu 11.04 server running nginx-1.0.0 and passenger-3.0.7 I have a system-level RVM install at /usr/local/rvm/gems/ruby-1.9.2-p180 My nginx.conf looks like: http { passenger_root…
Adam Lassek
  • 492
  • 1
  • 9
  • 18
2
votes
1 answer

keep double slashes when working with passenger

I've urls on my site that have nested urls encoded by encodeURI function. www.site.com/http%3A%2F%2Fwww.site.com%2F My site is running using nginx 0.8.53 The problem is that when nginx gets such url it decodes the whole url and remove double…
sha1dy
  • 121
  • 2