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
104 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
474 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
423 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
877 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
109 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
435 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
178 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
389 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
429 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
79 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
212 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
280 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
237 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
133 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
858 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
645 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
780 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
1k 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
727 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
86 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
987 views

How do I get Apache's www-data to recognize RVm?

Problem: Apache/Passenger don't recognize RVM I have a multi-user install of RVM, per the canonical instructions: http://beginrescueend.com/rvm/install/ I then edited /etc/profile.d/rvm.sh to ...
1
vote
1answer
189 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
670 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
460 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
118 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
858 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
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!
1
vote
1answer
586 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
735 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
927 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
529 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
660 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
669 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
599 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 ...
1
vote
1answer
1k views

Nginx+Passenger: 502 Bad Gateway from Nginx when passing urlencoded URLs in GET vars

Here's an example of the URLs that don't work: http://domain/do?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fperson http://domain/do?url=http%3A%2F%2Fwww.linkedin.com%2F However, the following URL does ...
1
vote
1answer
2k views

Configure Apache + Passenger to serve static files from different directory

I'm trying to setup Apache and Passenger to serve a Rails app. However, I also need it to serve static files from a directory other than /public and give precedence to these static files over anything ...
1
vote
1answer
1k views

Apache: mod_passenger + mod_php

Is it possible to install both modules for PHP and rails passenger? I installed libapache2-mod-php5 first, and when I try to install libapache2-mod-passenger, it tries to remove the php module. Is ...
1
vote
2answers
6k views

Passenger + Nginx => 502 Bad Gateway

I'm trying to run a relatively simple rails app (http:// www.enkiblog.com/) and it kinda works. The comments and the admin interface only work when I use "script/ server -e production" and connect to ...
1
vote
0answers
14 views

File descriptor limit in nginx/Passenger app

We're running a Rails app in Passenger 4.0.45 and nginx 1.6.0 (installed by Passenger installer) running on Ubuntu 14.04. Under heavy load Passenger restarts all of the application processes. After ...
1
vote
0answers
142 views

Rails app (Redmine) on Phusion Passenger is very slow on first request

I've recently deployed a Redmine app (production env) on an AWS server and every time I go to the page after a delay (10+ minues), it take a painfully long time for the page to load. After googling ...
1
vote
1answer
337 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 ...