Questions tagged [phusion-passenger]

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 webservers and is written in C++.

More about Phusion Passenger: http://www.modrails.com/

482 questions
1
vote
3 answers

What are the benefits of running a app server in user space, like Unicorn, as opposed to as sudo?

I've been using Phusion Passenger + Rails/Sinatra for a lot of projects. Passenger runs under the main Nginx or Apache process. But I'm interested in Unicorn, partly because it runs in user space. You just set up Nginx to proxy_pass requests to a…
dan
  • 847
  • 2
  • 9
  • 11
1
vote
1 answer

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 info in /etc/apache2/extra/httpd-vhosts.conf Added…
1
vote
0 answers

vhost configuration for owncloud

I'm using apache2 for hosting owncloud. I configured a vhost file for owncloud, but every time I go on the site my browser downloads a ruby file. Here is my vhost configuration: ServerAdmin webmaster@localhost ServerName…
R.S.
  • 161
  • 1
  • 6
1
vote
2 answers

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 with nginx and deployment of python apps through…
Alvin
  • 121
  • 1
  • 9
1
vote
1 answer

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: [ pid=12404 file=ext/apache2/Hooks.cpp:727…
Son of the Wai-Pan
  • 757
  • 4
  • 11
  • 25
1
vote
1 answer

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 it in the /var/www/html directory, var/www/html/ …
Saifis
  • 209
  • 3
  • 13
1
vote
2 answers

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 nginx-passenger I get: Reading package lists...…
Nicklas A.
  • 211
  • 1
  • 9
1
vote
1 answer

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 "redmine.mydomain.com" pointing to my…
Matmarbon
  • 123
  • 5
1
vote
2 answers

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? /etc/apache2/httpd.conf ServerName…
airlok
  • 113
  • 4
1
vote
1 answer

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? Also, if I try to go to any of the devise uris, it…
1
vote
1 answer

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 Reading state information... Done Some packages…
Paul
  • 263
  • 1
  • 5
  • 16
1
vote
1 answer

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 upgrade from 0.7.x to 0.8.0. Since then things have…
pjmorse
  • 1,550
  • 1
  • 17
  • 34
1
vote
2 answers

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 difference was the application running wih rails…
Mr_LinDowsMac
  • 295
  • 1
  • 10
  • 21
1
vote
0 answers

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 to do a hard restart. There are never redundant…
John Bachir
  • 2,364
  • 7
  • 29
  • 37
1
vote
2 answers

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 running RVM to manage the different gemsets for each…
John
  • 536
  • 3
  • 5
  • 13