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 ...

learn more… | top users | synonyms (1)

4
votes
2answers
7k views

Multiple Rails sites using Passenger and VirtualHosts?

What I am trying to do is run multiple Rails apps from a server machine at work. We dont have multiple hostnames for the box. We want to host some rails apps on it as well as our php apps. Currently ...
0
votes
2answers
126 views

Apache local verses external (domain)

I have an Apache server running on Ubuntu server 10, using Passenger for Ruby on Rails. I have configured my site under the sites-enabled directory of Apache and can hit the server with an internal ...
4
votes
5answers
5k views

Running Ruby on Rails App on Apache + Passenger == to much memory

I'm running redmine (a RoR app) on my server using passenger / Apache 2.2. Passenger and ruby are using way too much memory. Is there a more memory effective way to run redmine/ruby? I only need to ...
2
votes
4answers
5k views

Curl development headers with SSL support for Phusion Passenger 3

I'm trying to install phusion passenger nginx module, but it fails # passenger-install-nginx-module * Curl development headers with SSL support... not found ... yum install curl-devel Setting up ...
0
votes
2answers
863 views

nginx not acknowledging passenger_root option

I'm running a sinatra app on passenger, and trying to hook it to nginx. The relevant part of my config looks like: http { passenger_root /path/to/gem; #this is a valid path passenger_ruby ...
0
votes
2answers
1k views

Apache Canonical Rewrite with Passenger (mod_rails)

I have a rails app served via Passenger (mod_rails) that I want to have a canonical URL. I want all requests to go to http://mydomain.com (so, rewrite http://www.mydomain.com to http://mydomain.com). ...
0
votes
3answers
4k views

Why is it necessary to chmod o+r parent directory to fix 403 access forbidden error with Nginx and Passenger?

This may be an Nginx wrinkle, or it may be because I don't understand Unix permissions. We're using Hudson CI to deploy our staging instance. So RAILS_ROOT is /var/lib/hudson/jobs/JOBNAME/workspace. ...
1
vote
3answers
697 views

Proper Passenger + Apache Permissions to fix error “No such file or directory - config/environment.rb”

I am having a problem with Passenger not being able to start due to an apparently common issue in which Passenger claims: No such file or directory - config/environment.rb. I have searched the web ...
0
votes
2answers
1k views

NGINX + Passenger Deployment of Redmine — 403 forbidden

Seen this question asked a few times, tried out several posted solutions without any luck. installed phusion passenger w/ nginx, running ruby 1.9.3 under a multi-user rvm install somewhat familiar ...
0
votes
1answer
321 views

Apache/Passenger and cpulimit

I run a ruby on rails site that processes email - the email is dumped directly into the web app via a POST from postfix. At times I can get a burst of email coming in causing a prolonged surge in ...
0
votes
1answer
653 views

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 ...
0
votes
1answer
217 views

To what extent does mod_suexec interact with Passenger?

On a shared server (specifically a DreamHost shared server running Debian, but I don't know if this matters) with mod_suexec activated and with PHP and Python forced to use CGI or FastCGI, would you ...
0
votes
2answers
749 views

Passenger: mod_rewrite rules for non-default page cache directory for Rails application

Does anybody have some working Apache mod_rewrite rules that enable Phusion Passenger (mod_rails) to use a non-default location for the page cache within a Rails application? I'd like the cached files ...
0
votes
1answer
2k views

Apache dispatch.fcgi doesn't get interpreted with Passenger

I've installed passenger as ruby gem. I've added following to /etc/apache2/apache2.conf LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-2.2.4/ext/apache2/mod_passenger.so PassengerRuby ...
-1
votes
2answers
336 views

passenger is listing all the public folder files

Hello everyone please ignore my noobness, this is very first time i am deploying RailsApp; I have used apache and phussion passenger with rvm, here is my virtual host configurations that i added in ...