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)

1
vote
1answer
2k views

403 Forbidden

Here is my Nginx config: user pass users; worker_processes 1; events { worker_connections 1024; } http { passenger_root /usr/lib64/ruby/gems/1.8/gems/passenger-3.0.7; passenger_ruby ...
0
votes
2answers
170 views

Do I need to install nginx during the passenger installation

I am trying to install Passenger for Nginx: $ gem install passenger $ passenger-install-nginx-module During the installation Passenger want to compile and install Nginx. Is it necessary step? I ...
1
vote
2answers
870 views

Cannot start redmine on ubuntu 10.4

When I try to start redmine 1.1.3 I get this error: Missing the i18n 0.4.2 gem. Please 'gem install -v=0.4.2 i18n' However if I do sudo gem list I get: *** LOCAL GEMS *** actionmailer (2.3.5) ...
11
votes
1answer
410 views

Different ways to restart Apache?

I've got an Apache question here. For my entire career as a developer, I've been restarting Apache like this: sudo /etc/init.d/apache2 restart I just today deployed my first Rails application, but ...
0
votes
1answer
116 views

OSX Server 10.6.7 + Apache2: Setting Up IP-Based Virtual Hosting

I've developed a small Rails app that I need to run on my local network. I got Apache2 and Phusion Passenger set up, and the app is running on the server at http://myapp.dev, but I am not sure how to ...
1
vote
2answers
103 views

Strange error when using Rails with Passenger

I get the following Passenger error: undefined method `post_reset' for Gem:Module Someone knows what this could mean? Thanks!
0
votes
1answer
54 views

Sporadically regular Rails (Passenger) outages

We're running a Rails application under Passenger (via Apache) on an application server. There is a front-end web server (also running Apache setup as a proxy) in front of the application server. ...
1
vote
1answer
286 views

Post requests failing intermittently on a particular network route ~ wtf?

This is a complete head-scratcher. I've got a Rails application running on Passenger. I've tested the services from several different clients (via curl) and found them performing perfectly. EXCEPT ...
2
votes
2answers
2k views

Rails app (Redmine) on Phusion Passenger

I've installed mod_passenger for Apache on my Linux box. The module has compiled correctly and Apache seems to be loading it correctly (no errors with this side of things). BUt when I set up a vhost ...
0
votes
1answer
84 views

Passenger for RoR and LAMP for WordPress

I'm working on setting up my first server on Linode. I have: installed apache installed mysql installed passenger installed php bunch of other things I'm pretty sure my Passenger + rails is ...
2
votes
3answers
3k views

Redmine install not working and displaying directory contents - Ubuntu 10.04

I've gone through the steps to set up and install the redmine project tracking web app on my VPS with Apache2 but I'm running into a situation where instead of displaying the redmine app, I just see ...
1
vote
0answers
326 views

Gitorious 500 Error on adding ssh key

I have configured Gitorious under Nginx and Passenger on Ubuntu. When i try to add ssh key, i get a 500 server error, where gitorious tells me that the responsible personals has been notified. On the ...
0
votes
1answer
2k views

Centos+Apache+Phusion+REE=FAIL

I have been trying to get Phusion Passenger running on 5.6 for the last couple of days with no luck. Initially, I started with Ruby 1.9.2 under RVM since the default Ruby on RHEL-based distros is ...
3
votes
1answer
1k views

Monit is restarting apache2, should I fix the monit config, or the server config?

Monit is restarting apache2 frequently, based on the totalmem > 200m test in my apache2 stanza. I'm not sure that I actually have a problem, or if I should increase the totalmem test in my monit ...
4
votes
1answer
1k views

How to achieve zero downtime with Passenger 3?

In the technology preview posts about Passenger 3 they discussed zero downtime: In Phusion Passenger 3 we’ve implemented zero-downtime web server restart. Phusion Passenger and the web ...
0
votes
2answers
710 views

Default File Permissions (Passenger, Rails, Ubuntu Server)

I've deployed a Rails application that is using page caching and is run via Passenger on Ubuntu Server. Rails caching simply uses Ruby's File.open to write the cached files. Unfortunately these files ...
1
vote
1answer
120 views

Installing both rails2 and rails3 on the same server

I have a VPS running debian lenny, and I currently am running a Ruby on Rails application that uses Rails 2.3.5. This application works fine by itself, and uses Apache 2.2 with mod_rails. I would ...
3
votes
1answer
122 views

Is it normal to have a Ruby process always running in Ubuntu?

I'm running Ubuntu 10.10 with Apache2, RVM (For Ruby) and Passenger (mod_rails). When I look at the "top" application, I always notice the same Ruby process consuming about 1/4 of the memory on my ...
1
vote
3answers
867 views

Phusion Passenger Installation Not Working

I've been trying without success to install the Nginx version of Phusion Passenger (mod_rails) on my server by using the command gem install passenger followed by passenger-install-nginx-module. ...
0
votes
1answer
208 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 ...
1
vote
3answers
2k views

I Can't Get Ruby on Rails + Passenger + Apache to Work

I'm sorry if this is a stupid question, but I can't get Ruby on Rails to work on my Apache server. I'm using Phusion Passenger (mod_rails, mod_rack) for app deployment. Here is my RoR-specific ...
0
votes
1answer
1k views

Rails 3 passenger nginx application spawner server error on Synology NAS

Question updated, please read UPD2. I'm trying to deploy app through passenger nginx module on DS710+ (ruby 1.9.2p0 installed). There is syntax error relative to ...
0
votes
0answers
96 views

OSX Server 10.6.7, Passenger Fusion - Rails app works in development mode!

I have SnowLeopard Server on MacMini, and apache2 preinstalled on it. I installed Passenger Phusion for Apache and that works, but I figured out based on my logs (only development log is filled with ...
0
votes
1answer
411 views

Installing Redmine on Ubuntu 10.04

I'm having some issues installing Redmine on Ubuntu 10.04. I basically ran the following: sudo apt-get install redmine redmine-sqlite redmine-mysql It walked me through things and I configured ...
0
votes
1answer
300 views

make everything go to https except for one url in rails, nginx, passenger

Hey, I have a rails app and I am already redirecting nearly all traffic to use https. However, there is a particular path in my app which I need accessible by plain http, say somedomain.com/special. ...
1
vote
0answers
591 views

Keep getting 500 Internal Server Error when using Passenger

Every time I restart my server, which is a MediaTemple VPS, our Redmine installation, which is powered by Passenger through Apache, starts giving out 500 Internal Server Errors. It usually starts ...
1
vote
1answer
520 views

Rails application proxy'ed by Apache not serving CSS, Javascript and Images

We deployed a Rails application on a backend server, served via Passenger. This application is served at port 9000, and is configured to use sub_uri. Originally the URL is http://ip.address:9000/, and ...
0
votes
2answers
628 views

Website running on subdomain, how to redirect root to other domain?

I have a Ruby on Rails application running at subdomain (e.g. mydomain.com/site) on nginx with Passenger. Basically what I want it to do is keep application running at subdomain (mydomain.com/site) ...
0
votes
1answer
1k views

Nginx with Passenger setup problems

I'm trying to setup nginx webserver with Passenger support for Ruby on Rails application on Ubuntu 10.04 (on sub URI). All went fine until I tried to access the server/application from the browser. ...
6
votes
1answer
2k views

Nginx & Passenger - failed (11: Resource temporarily unavailable) while connecting to upstream

I have an Nginx and Passenger setup that is proving problematic. At relatively low loads the server seems to get backed up and start churning results like this into the error.log: connect() to ...
1
vote
1answer
1k views

Installing Passenger on ubuntu for ruby 1.9 and rails 3, problem with rvm

I am installing passenger on a Ubuntu server 10.04.2. following this tutorial. When I arrive to the step to install nginx rvmsudo passenger-install-nginx-module I have the following error: Your ...
1
vote
1answer
466 views

2 versions of nginx installed

I had nginx 0.8.54 installed on my Ubuntu 10.10 dev machine with php fastcgi all set up and working. I wanted to start doing some Rails dev so I tried to install Passenger into my existing nginx ...
0
votes
1answer
2k views

Installing Passenger in MacOS X using Brew and RVM

#Install RVM bash <<( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) #Install ruby 1.9.2 rvm install 1.9.2 # Set as default rvm --default 1.9.2 # Install passenger in the ...
1
vote
2answers
68 views

Both our app servers went crazy at the same time. What gives?

Last night at about 4:30am, both our app servers decided to have a seizure. We can't figure out why. Visitor load was low (100 live on the site) and there are no cron jobs scheduled on the servers. ...
2
votes
0answers
318 views

Kill runaway Phusion Passenger child processes with monit?

Is there any way to monitor and kill Phusion child processes that are using too much memory or cpu with monit? There are many examples for Apache, but since Phusion runs in its own process, runaway ...
0
votes
1answer
2k views

Redmine on Apache2 with Passenger issue

I installed Redmine and run it in Apache2 with the Passenger module. Apache2 boots, Passenger module gets loaded and the Redmine welcome page is shown, however when trying to login or navigate to ...
2
votes
1answer
3k views

How can I point Passenger to the correct Gem files when using RVM Gemsets on Ubuntu? Bundler::GemNotFound

I have a Ubuntu server (10.04) with nginx, and Passenger. I've installed RVM on it, and I have a global gemset with Passenger 3.02 installed. My application is within another gemset which has rails, ...
1
vote
1answer
598 views

Rails 3 + Nginx + Passenger — Routing index

I have no index.html file in my public folder. My rails routes file routes this, and it works fine when I run 'rails server' on my machine. I'm trying to deploy the app. I have passenger and nginx ...
0
votes
1answer
1k views

Host Ruby on Rails Tracks on Apache2

I'm having problems getting Tracks to be hosted via Apache2 on Ubuntu 10.04. I've followed several tutorials, but none work. I've got the Tracks git repo in /var/lib/tracks and a symbolic link to ...
1
vote
1answer
749 views

Curl development headers with SSL support for Phusion Passenger 3

Hi When I run passenger-install-apache2-module I get: Checking for required software... GNU C++ compiler... found at /opt/csw/gcc4/bin/g++ Curl development headers with SSL support... not found I ...
0
votes
5answers
1k views

Configure Apache with Ruby on Rails

I'm trying to install Tracks roughly following this guide while trying to configure Apache, but I get the following error when trying to restart Apache: /etc/init.d/apache2: 1: RailsBaseURI: not ...
0
votes
3answers
1k views

Capistrano + Nginx + Passenger = 403

I asked this over at stackoverflow as well, but still haven't received any answers that have helped me to solve this problem. I have spent almost a week at this point trying to solve the issue, and ...
0
votes
1answer
373 views

ROR + Passenger: Memory consumption

I am optimizing my VPS where I unfortunately have to run ROR under passenger. I've set it up so that it shutdown all application instances after 1 minute idle time, but there is still substancial ...
0
votes
1answer
527 views

Passenger on Debian failed with “only ET_DYN and ET_EXEC can be loaded”

I tried to install passenger using rvm and ruby 1.9.2 on my debian lenny/sid today, but i get this error: apache2: Syntax error on line 295 of /etc/apache2/apache2.conf: Syntax error on line 1 of ...
1
vote
1answer
963 views

Rails, passenger nginx and upload connection resets

Uploading a largish (2mb) file to nginx/passenger results in my connection being reset. I have tried editing configuration fields of nginx but apparently these are superseded by passenger's config. ...
2
votes
0answers
249 views

Passenger/Rails not releasing memory

I have an Ubuntu server running three separate Rails (2.3.8) applications with Passenger, REE and Apache. Recently we started experiencing problems with ruby processes eating up memory and consuming ...
0
votes
1answer
754 views

Nginx + Passenger running a RoR app is returning 401 when 302 is expected

I've got a RoR app running on Passenger on top of Nginx. I'm using devise for my authentication method and have a link that gets sent in an email to users that requires authentication to view. If a ...
2
votes
1answer
664 views

How to setup Proxy Cache with Nginx and Passenger

I use Nginx and Passenger for my rails application. I want to use proxy cache to cache my pages. However, every request go direct to my rails application. I don't know what wrong with my ...
0
votes
1answer
231 views

Apache2 SSL And Passenger Configuration Issue

I have the following virtual hosts configuration blocks. <VirtualHost *:80> DocumentRoot /var/www/html/TestApp/public/ <Directory /var/www/html/TestApp/public/> Allow from ...
0
votes
1answer
1k views

nginx does not use variables set in /etc/environment on system reboot, but does when restarted from shell

I have a Rails app running on nginx/passenger. It restarts happily in a shell using sudo /etc/init.d/nginx stop|start|restart. But Passenger throws an error when the system is rebooted: "Missing the ...