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
1answer
490 views

Nginx, Passenger, Rails serving static files but not running app

I've seen other similar questions but none with satisfactory answers, so here goes. I've installed Ruby, Rails, Nginx and Passenger and tried to configure it to all work together. Here is the ...
0
votes
1answer
157 views

Phusion Passenger slow rendering JSON response [closed]

I have a Rails 4 application that returns a large amount of data that is rendered as JSON (23K records/2.8MB document). Testing this call on my laptop using the WEBrick server, the request completes ...
0
votes
0answers
39 views

Passenger package not found after adding phusion repo Ubuntu 12.04

I'm trying to install the official Passenger (and Nginx) packages from Phusion on an Ubuntu 12.04.3 server. I have the following in /etc/apt/sources.list.d/passenger: deb ...
2
votes
1answer
115 views

What happens when Phusion PassengerMaxPoolSize is reached?

The subject of my post pretty much sums up my question: What happens when PassengerMaxPoolSize is reached? For Example: PassengerMaxPoolSize is configured to 40 based off our system specs What ...
4
votes
2answers
2k views

Installing Phusion Passenger 4.0.20 on Ubuntu 13.10

So I'm trying to install Passenger on the newest version of KUbuntu (13.10). I installed Apache2 using the apache2-mpm-worker package using the Muon Package Manager. And these are the commands I ran. ...
0
votes
1answer
110 views

Apache sites file without domain name [closed]

I can't seem to find this on google. I'm trying to put up a quick test site using EC2 and Elastic IP but I'm getting stuck at how to edit the Apache sites file so that I can view the site. It's ...
0
votes
1answer
131 views

Cannot run grack, passenger occurs error: uninitialized constant GitHttp (NameError)"

I trying to setup web server for publish git repositories on successfully installed and worked redmine server. Passenger occurs error: Web application could not be started uninitialized constant ...
0
votes
1answer
92 views

VPS apache config - Invalid command 'PassengerDefaultRuby' after adding latest passenger gem

used to have this list of rubies in my vps: ruby-1.9.2-p320 [ i686 ] =* ruby-1.9.3-p194 [ i686 ] ruby-1.9.3-p374 [ i686 ] ruby-1.9.3-p392 [ i686 ] today I installed a new app on this vps ...
0
votes
1answer
193 views

Passenger + RVM returns 502 for ruby 1.8.7 (passenger_root lies in ruby 1.9.3)

I'm using Passenger + RVM + Nginx, and my Rails applications which are configured for Ruby 1.9.3 work fine, but those for 1.8.7 always return a 502 error. Can anyone spot the trouble? My config is as ...
0
votes
1answer
46 views

Restart individual application in apache+passenger on ubuntu server

I have multiple ruby on rails applications on the server(Apache + passenger ) using RailsbaseURI. When new applications are deployed, apache is configured to reload which reads the new configuration ...
0
votes
0answers
28 views

Apache virtual hosts file - would like to have a rails test directory

I recently got Phusion passenger installed on my VPS, and I am just starting out on my Ruby / rails projects, so I would prefer to put the rails projects in a directory named ...
0
votes
1answer
71 views

Phusion Passenger fails to compile on CentOS

I'm trying to install Phusion passenger (aka mod_rails) for the default Apache2 install on a CentOS 5.9 box. I successfully installed the gem using the following, sudo gem install passenger but when ...
0
votes
0answers
1k views

nginx passenger_root not accepting valid passenger gem location

I am trying to add passenger_root and passenger_ruby to my nginx.conf file, but when i try and restart NGINX I get the message: Starting nginx: nginx: [alert] Unable to start the Phusion Passenger ...
0
votes
2answers
295 views

passenger apache and nginx module not compiling on ubuntu 12.04LTS

I am doing all this from the root account. I have followed this guide: https://www.digitalocean.com/community/articles/how-to-install-rails-apache-and-mysql-on-ubuntu-with-passenger I have tried ...
0
votes
1answer
46 views

Cant configure Apache with Passenger + Rails

I am only beginner and try to understand how to configure apach web-server for my RubyOnRails app. I have linux, installed apache2, passenger and apache2-module for passenger. While installing i got ...
0
votes
1answer
421 views

Passenger permission denied accessing .htaccess

I just finished migrating my Redmine install and after testing it with webrick all went fine and the site worked really well with http://localhost:3000 Next, i installed and configured mod_passenger, ...
0
votes
1answer
324 views

Apache2 with Passenger and subdirectory with file listing

I have a server configured with redmine using apache2 and redmine. The configuration was relative easy: <VirtualHost localhost> RailsEnv production # create a link in ...
3
votes
1answer
1k views

Setting PassengerDefaultRuby in Apache2

I'm experiencing a server error, which tells me that it cannot detect essential gems such as rake. Research suggests that there's a miscommunication between Phusion Passenger and RVM. RVM recommends ...
0
votes
1answer
268 views

sudo: passenger-memory-stats: command not found

This is my first time setting up a server, and I've hit snag while following the Phusion Passenger tutorial described here. The instructions ask me to run this command: passenger-memory-stats Which ...
3
votes
1answer
165 views

swap space when installing phusion passenger

I tried to install Phusion Passenger and since I had less than 1GB free memory it recommended temporarily adding swap space with there commands: sudo dd if=/dev/zero of=/swap bs=1M count=1024 sudo ...
0
votes
1answer
171 views

Capistrano Shell Environment Errors

I'm trying to get capistrano working with rvm and passenger standalone. I had it working at one point, then capistrano suddenly started complaining about missing the bundle command. When I remove ...
0
votes
0answers
63 views

www in domain name is not working

I am new for hosting. I have taken Amazon EC2 free tire for hosting and host a Rails website on an ec2 instance. I have taken a domain name for my site named http://jarsoftwares.com/ . I have ...
-1
votes
2answers
286 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 ...
2
votes
0answers
147 views

Nginx gives 404 error for rails app except the root

I have an Ubuntu 12.04 LTS VPS server that serves a static website with Nginx. I would like to set up a rails application that is accesible from the subfolder 'foo'. I use Passenger for serving the ...
0
votes
1answer
58 views

How to install moinmoin-2 on dreamhost

How to install moinmoin-2 on dreamhost? I'm putting this here, so I can find it in the future. Maybe it is useful to other people too. I found it challenging because: it needs python2.7, and ...
0
votes
1answer
80 views

phusion passenger processes dying and new ones starting up mysteriously

as you can see, passenger processes are dying and new ones booting up, even though we're not explicitly restarting passenger ourselves. we can't pinpoint what's causing this. what are some common ...
-5
votes
2answers
42 views

Rebooting whole server for Rails [closed]

I'm migrating a Rails project onto an Apache server. I've followed the steps similarly to this link (installed passenger as ruby gem, added some lines to /etc/apache2/apache2.conf, set Vitual Host to ...
0
votes
0answers
119 views

Intermittent SSL “Timeout” w/ Apache and a RoR Passenger App

I am completely lost on this one so I'm hoping someone here may have experienced it before. I have a RoR application running with passenger in apache. It sits on EC2 and is load balanced using ELB. ...
3
votes
1answer
205 views

Is there a backend-aware load balancer for Rails/Passenger?

We have 3 Ruby on Rails applications (A, B and C) installed on a number of application servers. Our front end is HAProxy, backend is Apache + Phusion Passenger. Originally we had all 3 Rails apps ...
1
vote
1answer
352 views

Nginx 1.5.1 with spdy support, passenger and php

I can't figure out if spdy is already packaged with nginx 1.5.1 or I have te recompile it. I installed nginx with the following command passenger-install-nginx-module this installed nginx 1.4.1 ...
1
vote
1answer
708 views

Best practice for setting up RVM, Passenger/Apache with multiple Rubies and running as specific users?

My goal is to run ruby applications under different server users with potentially different versions of ruby. So i would have users that serve as the "hosting account" essentially. Document ...
0
votes
1answer
36 views

How to configure http.conf without a ServerName?

I've the following example given to me to set up rails on CentOS with apache / passenger: <virtualhost *:80> RailsEnv development ServerName app.com ServerAlias www.app.com DocumentRoot ...
1
vote
1answer
104 views

Default Apache test page when on SSL

I have the exact same configuration for my rails site on a staging server and a production server, aside from the "staging" vs "production" in the file paths. They're both set up to redirect all ...
-1
votes
2answers
165 views

Why is Nginx + Passenger on Debian 7.0 1.6 times slower then on Debian 6.0? [closed]

I have 2 similar VPS (1 core, 512 MB RAM, SSD hard drive). I've installed Debain 7.0 x64 to one of them and Debian 6.0 x64 to another one. Both installations have 512 MB swap file. I've installed to ...
1
vote
0answers
93 views

Nginx Installed w/Passenger but No Command Line

I installed Passenger and Nginx on Ubuntu 12.10 using the following command: passenger-install-nginx-module (following instructions at www.modrails.com/documentation/Users guide Nginx.html). When I ...
0
votes
2answers
272 views

Nginx stops serving passenger app (503)

I'm deploying a rails app through passenger and nginx (utilizing an elastic-search server which is running on the same machine) on a Ubuntu system. This works perfectly for about twelve hours. Then, ...
1
vote
1answer
549 views

Passenger complains about Apache permissions despite 777

I installed Redmine on Fedora 18. The installation works when tested with webrick, as explained in the official HowTo. Now I want to use Passenger and Apache to host Redmine. What I get is: ...
0
votes
1answer
407 views

Why does amazon ec2 have downtime after deploy when other identical servers do not?

This has puzzled me for the past few months...I'm admittedly new to server administration and I took a stab running a production rails app over at EC2. While I've learned a lot and feel pretty ...
0
votes
1answer
79 views

Migrate Rails app with passenger, capistrano(with rubber), and ImageMagick to Dreamhost

I have a beta app that a developer has made for my company and I need to clone their work onto another server. I have successfully backed up the MySQL database to another server and copied all their ...
0
votes
1answer
101 views

Can we configure HTTP response code headers?

We're stumped. We're getting a new header in our Apache httpd + Passenger web server we didn't expect. We have a sensitive web client reading this we cannot modify at this time. Can we modify this ...
0
votes
2answers
389 views

Rails 3 with Thin Server - Removing Port 3000 from URL

I have a small Rails app currently being served (dev and production) by Thin server on port 3000, on a Debian box that also has apache2 running, serving PHP applications. I am not certain if this is ...
3
votes
1answer
126 views

TCP 443 Connection goes into server but never reaches Apache2 (Passenger)

We have some weird problems, when external servers try to connect to our Website on Port 443(TCP) which is an Apache2+Passenger and a Rails Application. The problem only happens rarely. I started to ...
0
votes
1answer
233 views

Multiple Rails/Rack apps Nginx one for each subdomain

I just hired a VPS with Ubuntu 12.10 x64. I've managed to get one Rails app running with passenger-nginx. Now I want to run another app as a subdomain, say for example admin.mydomain.com. How can I do ...
1
vote
1answer
224 views

Running roundcube alongside passenger on nginx

I have recently tried to install passenger on nginx. The installation works and everything is good. However I would like to run roundcube webmail on my server as well. Basically my problem is that ...
0
votes
1answer
363 views

Getting Redmine integrated with svn while running passenger as user www-data

I'm having some problems getting passenger and svn to work in Redmine. System Ubuntu 12.04 Apache 2.2.22 PassengerRuby 1.9.1 Passenger 3.0.19 Problem When I let Passenger do it's normal user ...
1
vote
1answer
486 views

Error installing nginx with Passenger on Ubuntu 12.10 for Ruby 2.0.0 [closed]

I am attempting to install nginx to run a Rails site (3.2.13) with Passenger (4.0.0.rc5) on Ruby 2.0.0-p0 via RVM. I have successfully installed the Passenger gem, but when running: rvmsudo ...
0
votes
1answer
190 views

Pass on passenger_base_uri to Rails app

We built a Rails app that consists of the following routes: namespace :api do namespace :v1 do resources ... end end That means, all controllers are reachable via ...
0
votes
1answer
144 views

Duplicate requests with different IPs from client causing duplicate actions in Ruby on Rails 3.2 controller

I have been trying to figure this issue out for a while re-checking my code and searching on the internet, I found some possible answers if the cause was something else but nothing exactly like I have ...
1
vote
1answer
208 views

How can I make apache use PHP over passenger by default?

Here's my setup: I have an apache server running a number of virtual hosts, each of them using PHP. I now have a rails app I want to install to a subdirectory for one of the sites (a subdomain would ...
1
vote
1answer
212 views

Sporatic 502 errors with Ruby on Rails site running on Nginx

My Ruby on Rails site is throwing sporadic 502 errors. It is running on Nginx, installed with Passenger, and is hosted on a server running Ubuntu 10.04. It seems that the errors are becoming more and ...