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
2answers
213 views

Site available on internal network, but not from external networks

I've got a ruby on rails application running on apache2 with phusion-passenger. The application works flawlessly on the local trusted network, but I can't access it on our wireless (untrusted) or any ...
1
vote
2answers
491 views

EC2, Ubuntu, RVM, Rails, Passenger, Apache — requests to my domain just time out

Problem: I believe I've done everything required to deploy my app, but when I go to my new URL, I get a "problem loading page, server took too long to respond" error from the browser. Stats: I'm ...
1
vote
1answer
198 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
632 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
2answers
110 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 ...
1
vote
1answer
565 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 ...
1
vote
2answers
465 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
591 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 ...
1
vote
1answer
1k views

Configure auth_basic with Nginx and Passenger

I'm trying to set up a basic authentication with Nginx. My server configuration look like that: server { listen 80; server_name DOMAIN; root /var/www/web-front-dev/current/public; error_log ...
1
vote
1answer
116 views

Point domain to rails route

This might not be possible, but I have a nginx server running with one domain x.com, and I have y.com that's pointing to the same server, but I would like that domain to end up running a rails route. ...
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 ...
1
vote
1answer
551 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 ...
1
vote
1answer
3k views

Apache Passenger can't find gem

I'm running Ubuntu 10.04 and I've transferred over some sites built in Sinatra. I've set up Phusion passenger, but when I visit the sites I'm getting a Passenger LoadError claiming that passenger has ...
1
vote
2answers
1k views

Log files not being written (Passenger)

Locally, my app runs fine on and writes to it's logs. My production server is running CentOS with an Apache server running Passenger. When trying to debug, I noticed my log files were not being ...
1
vote
1answer
1k views

Mod_rails slow boot

I'm completely new in Rails and I'm facing this problem: My application runs fine on my development machine when I use script/server (called webrick I guess) The problem is when I put the ...
1
vote
2answers
5k views

Setting up Redmine on Debian with Phusion Passenger, static content doesn't show up

I and some others are setting up Redmine on a Debian server running Apache. Actually, I didn't do the initial setup but I can't get ahold of the guy who did right now so I'm asking here. We are using ...
1
vote
1answer
468 views

How to tell how Apache might be broken and preventing the ruby passenger module from installing

I'm installing a ruby on rails application to a Ubuntu 14.04 server. As part of it, I need to install the passenger module for Apache. When I go to run the "passenger-install-apache2-module" I receive ...
1
vote
1answer
382 views

Installing Phusion Passenger with Ruby 2.1.0

I'm following the guide for installing Passenger on Ubuntu, but when running sudo apt-get install libapache2-mod-passenger it tries to install Ruby 1.9.1. I already have Ruby 2.1.0 (installed via ...
1
vote
1answer
632 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: ...
1
vote
1answer
242 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 ...
1
vote
1answer
509 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 ...
1
vote
4answers
81 views

is it possible to have two web servers hosted at different places share the same domain name?

say I have a wordpress site: https://www.foobar.com and I want to have an entry point to a rails app at a certain subdirectory within that same domain: https://www.foobar.com/rails_app I know this ...
1
vote
1answer
265 views

Showing Directory Root When Launching Rails App Using Apache2 and Passenger

I have done the following in an attempt to host a Rails 3.2.3 application using Apache 2.2.21 and Passenger 3.0.13: Installed gem Passenger rvmsudo passenger-install-apache2-module Added website ...
1
vote
1answer
368 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: [ ...
1
vote
1answer
269 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 ...
1
vote
1answer
153 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? ...
1
vote
1answer
1k 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 ...
1
vote
2answers
862 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
2answers
794 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 ...
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
1answer
804 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 ...
1
vote
1answer
599 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 ...
1
vote
1answer
89 views

Apache Bench length failures

I am running Apache Bench against a Ruby on Rails XML-RPC web service that is running on Passenger via mod_passenger. All is fine when I run 1000 requests without concurrency. Bench indicates that ...
1
vote
1answer
193 views

rails, nginx and passenger with SSL on some paths

I'm running a standard Rails 2.3.11 install, with passenger and nginx. I've correctly installed the SSL certificates and they are confirmed to work. However, I only need SSL on two paths ...
1
vote
1answer
742 views

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

NGINX: How do I calculate an optimal no. of worker processes and worker connections?

Our web app is running on a Linode 2048 server at the moment (~ 2048 GB of RAM) The MYSQL database is on another linode of it's own so this server is really only handling NGINX and and the Rails ...
1
vote
2answers
121 views

apache2 VirtualHost server and passenger behaviour

i've installed a phusion-passenger website in Apache2, the site sits at 192.168.0.50 in my network. here it is the VirtualHost element <VirtualHost *:80> ServerName my_web_host ...
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 ...
1
vote
2answers
909 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) ...
1
vote
2answers
106 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!
1
vote
1answer
614 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 ...
1
vote
1answer
773 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 ...
1
vote
1answer
1k 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. ...
1
vote
1answer
1k views

Configuring nginx as reverse proxy

I am using Passenger with nginx to serve my rails app on a virtual Slice host. I am considering putting a reverse proxy for serving static content as well as handling etagged actions. Can I use my ...
1
vote
1answer
2k views

directive is not allowed here Nginx Passenger

I'm trying to enable Global Queuing in passenger and i'm using Nginx. When i set the flag passenger_use_global_queue I get an error [emerg]: "passenger_use_global_queue" directive is not allowed here ...
1
vote
1answer
537 views

if I set up the expire http header of a css file to 1 year, if I modify that file, will it be ignored by the browser using rails?

I'm using rails with nginx/passenger. If I set up the expire http header of a css file to 1 year, if I modify that file, will it be ignored by the browser (ie, it will not request the new version)? ...
1
vote
2answers
667 views

Ubuntu server very slow out of the blue sky (Rails, passenger, nginx)

I run Ubuntu server 8.04 on Linode with multiple Rails apps under Passenger + nginx. Today I've noticed it takes quite a lot of time to load a page (5-10 secs). And it's not only websites, ssh seems ...
1
vote
1answer
674 views

Where/How do you configure phusion passenger when running nginx?

Im running Nginx and Phusion Passenger for my rails app and I want to be able to configure passenger. All I have seen is how to configure it while running apache which doesn't help me. For example, I ...
1
vote
4answers
4k views

How to serve Rails application with Passenger/Apache without domain name?

I am trying to serve a Rails application using Passenger and Apache on a Ubuntu server. The Passenger installation instructions say I should add the following to my Apache configuration file - I ...
1
vote
1answer
612 views

How can I setup BluePill to Monitor a Rails App Running via Passenger (mod_rails)

I recently launched a site running phusion passenger. Unfortunately, the site went down due to a frozen thread. I was able to save the server by doing kill -9 to the specific PID. Still though, I ...