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)

0
votes
3answers
3k views

Passenger error: No such file or directory - config/environment.rb

I installed Redmine on MacOSX Server 10.6.8 according to this installation description. So far everything works fine: When I start webrick the server serves the Redmine pages. The gems and redmine are ...
2
votes
1answer
5k views

Where do Passenger logs go?

I have a Rails application running on CentOS with Apache/Passenger, and I have a little problem: I don't have any logs for my Rails Application, What am I missing? This is my apache conf : ...
0
votes
1answer
160 views

Easy way to launch several rails apps on the server

I have several rails applications on my server. Each application uses its own rvm gemset. I'm using Thin as web server for each application, this servers installs as a gem separately for each ...
1
vote
1answer
287 views

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 ...
2
votes
1answer
2k views

Setting passenger with Apache virtual hosts?

I am setting up a new server which I intend to host multiple Ruby on Rails applications on. The server is running Ubuntu 10.04 LTS and I have set the Apache virtual hosts up so each application has ...
0
votes
1answer
277 views

Nginx - Passenger - Rails 3.2 not responding

I am struggeling to get my rails 3.2 app running on a nginx - passenger - ruby 1.9.3 setup. here is what I already did: installed passenger gem installed rvmsudo passenger-install-nginx-module I ...
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
2answers
1k views

How to install Phusion Passenger using RVM on Rackspace server?

I am getting ready to start hosting my own Ruby applications. I already have RVM installed on my production server. Now I would like to install Passenger. I have Ruby 1.9.2 set as the default. I ...
1
vote
1answer
344 views

How do I check what version of mod_passenger I'm running?

I'm running into an intermittent error with my Ruby app and I'm trying to figure out the context. I'm running mod_passenger off of Apache (on Dreamhost, if that matters). The error I'm getting is: [ ...
0
votes
1answer
120 views

Rails on Dreamhost dedicated alongside existing PHP apps

I'm a developer, and don't have much administration experience. The client wants to host a Rails 3.2 app on his Dreamhost dedicated server (running Debian) which already hosts a bunch of other sites ...
1
vote
1answer
191 views

Relative path incorrect in the view layer when hosting a rails3 app in a subdirectory using passenger and apache

I want to host multiple Rails apps on a multiple server using sub-directories. And have encountered some relative path problems. I have made a symbolic link to the app's public directory and placed ...
1
vote
2answers
596 views

Can't install nginx with passenger after ubuntu server 12.04 upgrade

I'm trying to install nginx with passenger support on 12.04 I've used the brightbox repo before but that doesn't work now. I've also tried ppa:nginx/stable but when I try to run sudo apt-get install ...
1
vote
1answer
261 views

Configure redmine that it responds on redmine.mydomain.com

I installed redmine just a few minutes (or hours?) ago and it works fine at my root domain "mydomain.com". But this is not what I want. What I want is my root domain pointing to some public stuff and ...
0
votes
1answer
304 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 ...
1
vote
2answers
139 views

Cannot connect to domain despite successful pings

Pings to my domain name work, but I can't connect via http. I've been trying various methods for a week now, but haven't come up with anything that worked. Any idea what's causing this? ...
1
vote
1answer
147 views

Rails showing files list and not running app

I followed this tutorial: http://railsapps.github.com/tutorial-rails-mongoid-devise.html Running nginx via proxy on port 8000. You can see it here. Why is it listing the files in the /public dir? ...
3
votes
1answer
138 views

Passenger fails to run on first load, but successfully launches after single refresh

I have a pretty simply passenger installation on my production server. It seems that every night the passenger process quits due to inactivity. When I hit the site in the morning, passenger starts up ...
1
vote
1answer
961 views

Rack processes taking over CPU under Passenger

I have a Spree site running the following stack: Nginx 1.0.8 Passenger 3.0.9 Ruby 1.9.2-p290 Rack 1.3.6 Rails 3.1.4 Spree 0.70.5 I recently upgraded from Spree 0.70.3, which also brought a Deface ...
0
votes
1answer
606 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 ...
1
vote
2answers
800 views

Configure in Apache two Ruby on Rails apps in the same Server with same IP

I previously ran an two Ruby and Rails applications, one of them by using rails console command, the another one using Apache trough Phusion Passenger. Both applications ran in same IP, the only ...
1
vote
1answer
138 views

Can't install Passenger for Apache

To set up Passenger some packages must be installed, for example libcurl4-openssl-dev: user@ubuntu:~$ sudo apt-get install libcurl4-openssl-dev Reading package lists... Done Building dependency tree ...
0
votes
1answer
179 views

Ruby on Rails/Passenger with Apache2 - setting up sub domains

I'm trying to configure Apache2 and mod_passenger so I can have one site at the root of the server example.com/ and another totally different rails instance at example.com/second. My ...
1
vote
2answers
790 views

Best Practice: RVM w/ Multiple Nginx-Passsenger Standalone Servers Running One App per Server

I'm wondering what would be the best approach to hosting multiple Rails applications where each application has a different gemset and may possibly use a different version of Ruby. I'm thinking of ...
4
votes
2answers
2k views

Unable to start the Phusion Passenger watchdog

I'm trying to install Passenger (mod_rails) on Apache2 server by using the command 1. gem install passenger 2. passenger-install-apache2-module Passenger gets installed and i added the below line ...
1
vote
2answers
2k views

Redmine suddenly stopped working. How to troubleshoot?

I was a happy user of redmine for like 6 months. My plan was to set it up and never update anything in order not to deal with dependencies and stuff. I'm using Ubuntu server 10.04 (Apache/Passenger) ...
1
vote
2answers
109 views

Setting up apache for rails on ubuntu

I have apache with the following 000-default file for my app <VirtualHost *:80> ServerName www.yourhost.com DocumentRoot /somewhere/public <Directory ...
0
votes
2answers
783 views

Timeouts somewhere on our stack (haproxy, nginx, rails, memcached)

We have some timeouts that are driving me crazy, under virtually no load (probably a couple people hitting the servers per minute). We use nginx to redirect non-SSL to SSL, terminate the SSL, and ...
1
vote
0answers
77 views

Sending HUP to Nginx resulting in never-dying old master process

Sometimes when I try to do a graceful restart by sending HUP to Nginx, I end up with a master process that never dies, it sticks around forever, and eventually my app becomes unresponsive and I have ...
1
vote
1answer
522 views

Nginx Passenger returning 500s for every request

Up until this point I've been using the standalone passenger (nginx-based) for my application. Everything works fine. I've decided to move to an nginx based solution since I need to be able to ...
0
votes
2answers
614 views

Apache Passenger displaying my Rails application contents?

I have installed mod_rails (phusion passenger) for Apache on Ubuntu 11.10. Ruby and Rails are running fine, and so does mod_rails. I have setup a site on dev.localhost, which is my ruby app. The app ...
5
votes
2answers
3k views

Passenger + nginx: application doesn't run in production mode

I'm using Passenger + Nginx to run a Rails app. If i use "rails_env development;" the application works fine. But if i run in production mode, i get "We're sorry, but something went wrong.". I did ...
0
votes
1answer
269 views

mod_rails. Apache + Nginx. After installing passenger Apache doesn't start

I've installed Nginx for optimizing the speed of Apache requests. For some weeks everything was fine, all my sites had started to fly indeed. BUT, I've decided to install passenger, and has broken my ...
0
votes
2answers
340 views

Nginx + Passenger = Slow response

I'm running nginx 1.0.4 with Passenger 3.0.11 and Rails applications and I've noticed that on every request I made, it takes about 5 seconds to respond for the first request, if I reload it, after the ...
2
votes
2answers
198 views

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

Rails application dying slowly on Mac Lion 10.7.2 with Phussion

I've asked this question over at stackoverflow, but I thought someone here might have insight as well. I've recently deployed my first Rails application on a Mac mini running Lion 10.7.2 with Apache ...
1
vote
2answers
452 views

passenger-memory-stats - root privileges

When I run 'passenger-memory-stats' on my ubuntu server as root I get the following error : -bash: passenger-memory-stats: command not found If I run this command as a user ('deploy' in my case) I ...
1
vote
1answer
782 views

ModRails for Apache2 Setup: Failing to load?

I'm trying to perform a fresh install of Ruby on Rails running with Apache2/Passenger on Ubuntu. I was able to successfully install apache2, rvm, ruby, rails and passenger, the latter part following ...
0
votes
1answer
428 views

Django returns 502 error when user apps are added

I've configured a Debian 6 server with nginx, Passenger, and MySQL to run Django, and was running through the Django tutorial with everything going swimmingly until I tried to turn on the admin ...
0
votes
3answers
167 views

How do I make nginx start (user install with passenger) on boot?

I have installed nginx on my Ubuntu 10.04 box. With passenger 3. Now I've got everything setup correctly; how do I ensure that nginx will start on boot everytime?
0
votes
1answer
131 views

Phusion Passenger without RVM

Usually I use RVM + Passenger for my rails applications. Recently, however, I needed to use Passenger without RVM. And I'm confused about gem location. What's the location of gems that Passenger ...
0
votes
1answer
824 views

Nginx can't find PCRE library on Ubuntu Server

I have been trying to get my Passenger and Nginx setup to work with php files but I am having problems with the PCRE regular expressions library. Install all went fine so I'm assuming it found the ...
3
votes
1answer
2k views

Firefox and Chrome keeps forcing HTTPS on Rails app using nginx/Passenger

I've got a really weird problem here where every time I try to browse my Rails app in non-SSL mode Chrome (v16) and Firefox (v7) keeps forcing my website to be served in HTTPS. My Rails application ...
0
votes
1answer
341 views

mod-redmine && mod-passenger: Passenger refuses to load (here: Redmine) after rewrite uri. Where to put RailsBaseURI?

i've a working Redmine-instance at /var/lib/redmine. (Redmine configuration is not the issue) ln -s /var/lib/redmine/public /var/www/redmine chown -R www-data:www-data /var/www/redmine echo ...
0
votes
1answer
375 views

Apache 2, Passenger 3 and RVM setup

I want to setup a RoR server with Apache2 + Passenger3 + RVM, These are my configurations # Passenger Apache Integartion LoadModule passenger_module ...
0
votes
1answer
713 views

Using PCRE 8.20 with Nginx 1.0.11 and Passenger

I downloaded and extracted the nginx source to ~/nginx-1.0.11, then downloaded PCRE 8.20 directly since the latest version of the Passenger installer can't download it automatically. I did the typical ...
2
votes
1answer
192 views

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: <VirtualHost 10.0.0.10:80> ...
1
vote
1answer
535 views

Why do I need to specify passenger_enabled twice?

I'm trying to set up my nginx.conf to use the asset pipeline in Rails 3.1. I'm using nginx 1.0.10 and Passenger 3.0.11. My nginx.conf looks like this: server { listen 80; server_name .example.com ...
0
votes
1answer
751 views

Setting up Passenger + Nginx on Arch

I'm trying to setup passenger and nginx on Arch, but I can't seem to get the nginx server to even start. I've followed the guide found here: ...
2
votes
2answers
2k views

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 ...
1
vote
1answer
530 views

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