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
128 views

Start Redmine automatically

I use Redmine with Passenger, RVM and Linux. To start Redmine I use next commands: su redmine cd /www/public/redmine rvmsudo passenger start -p 85 -d --user=pass What is the best way to start it ...
0
votes
2answers
429 views

Install passenger with yum-installed nginx

Is it possible to install passenger into nginx that has been installed previously using yum? I need to provide a directory prefix for the install-nginx-module, just wondering where that would be on ...
3
votes
1answer
328 views

passenger and apache memory usage

On a "CentOS release 6.2 (Final)" server (with Ruby 1.9.3 and Rails 3.2), and using more memory than expected. Looking at passenger-memory-stats I see a couple of HUGE httpd processes... any thoughts ...
1
vote
4answers
85 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 ...
3
votes
1answer
160 views

Application specific environment on the same server in Nginx/Passenger

I have two Rails applications (say app1 and app2) deployed using Nginx/Passenger. The server definition in nginx.conf looks like this: server { rails_env demo; client_max_body_size ...
2
votes
1answer
1k views

Puppet master fails to run under nginx+passenger configuration as rack app, works when run as system service

I get the error [anadi@bangda ~]# tail -f /var/log/nginx/error.log [ pid=19741 thr=23597654217140 file=utils.rb:176 time=2012-09-17 12:52:43.307 ]: *** Exception LoadError in ...
2
votes
0answers
256 views

Phusion Passenger setting PassengerPreStart does not activate using service httpd start

I'm running Phusion Passenger on RHEL, hosting a Rails application. I can successfully start up a passenger instance on Apache startup using the Passenger setting PassengerPreStart, but only if I ...
2
votes
1answer
589 views

Apache2 graceful restart stops proxying requests to passenger

Issue with apache mod proxy, it stops proxying requests after a graceful restart but not all the time. It seems to happen only on a Sunday when a graceful restart is triggered by logrotate. [Sun ...
0
votes
2answers
1k views

500 error with deploying rails application via apache2+passenger

I finally completed my own app, so the only work left is deploying the app. I'm using Ubuntu 10.04 and apache2(installed by apt-get), so I'm trying to deploy through passenger. I installed passenger ...
0
votes
1answer
235 views

Problems getting Squirrelmail and passenger working on apache

I'm trying to have a setup where I want to run a squirrelmail and Passenger on the same apache server, having a url point to squirrelmail and everything else handled by passenger. I've gotten so far ...
-1
votes
2answers
239 views

Restart one specific application only

I am using an apache webserver which has several applications on it. I need to restart one specific ruby on rails application. In the phusion passenger documentation, it mentions that there are 2 ...
0
votes
2answers
713 views

Using RVM in Puppet manifests

I'm currently digging deeper into Puppet and with several manifests I encounter problems regarding the installed ruby version or rubygems. I would guess that others probably also run in such problems. ...
0
votes
1answer
141 views

Confused about CNAME and subdomains

I have an app that sits at exampleapplication.com. It's a rails application sitting on an Apache/Passenger stack. The app is set up to use subdomain constraints to point to user accounts (e.g. ...
1
vote
1answer
89 views

Passenger not respecting settings

I have the following settings in my Apache config (not in one of the vhosts but globally): RailsSpawnMethod smart RailsAppSpawnerIdleTime 0 PassengerMinInstances 2 PassengerMaxPoolSize 5 ...
0
votes
1answer
650 views

Host multiple Rack apps on one server with multiple ports (using Apache and Passenger)

I've search online and been reading documentation for Apache, Passenger, Rack, etc, but have yet to find a solution to my problem. I have several Rack (ruby)-based apps, located in ...
3
votes
1answer
3k views

Rails Passenger Nginx cannot load such file — bundler

I have set up Rails, Passenger, nginx, and PostgreSQL on Ubuntu Server 12.04LTS. Upon trying to access the application/website, however, I am greeted with an error page saying that the application ...
0
votes
2answers
2k views

Rails application only showing Nginx default page

I am having problems with my Rails application that will use Nginx and Passenger. I've already deployed the application and have setup the nginx config file as such: server { listen 80; ...
-1
votes
1answer
385 views

Is AMD Opteron 3280, 8 cores, 32 GB DDR3 RAM will able to run 200 rails application and 200 mysql database [duplicate]

Possible Duplicate: Can you help me with my capacity planning? I am planning to hosing an rails application + Mysql in dedicated server maximum 200 replicated rails application with 200 ...
0
votes
1answer
121 views

Passenger not running continuously

I am wondering if somebody could inform me of the correct behaviour for a Rails app running through Rack/Passenger, as I am seeing some unusual behaviour on a production system which has never been ...
2
votes
1answer
354 views

Apache2: mod_wsgi and passenger do not get along

I'm trying to run an instance of apache2 on an ubuntu server with two virtual hosts. One for redmine(phusion passenger), and one for ReviewBoard(mod_wsgi). I haven't created a single server ...
0
votes
1answer
140 views

PostgreSQL 9.1 won't restore because “a user is connected”

I'm transferring a database as part of transferring a website. I've not used PostgreSQL before, so assume that I don't know much about it (I primarily use MySQL). We cannot directly connect the ...
1
vote
2answers
559 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 ...
0
votes
1answer
126 views

Installing Passenger on CentOS 6.0 with the view to running my Puppet Master via Passenger

I'm attempting to configure Puppet to run via Passenger. I'm using this guide I've hit a bit of a brick wall. When I attempt to reload apache, I get the following error: [Sun Jul 15 19:38:44 2012] ...
0
votes
2answers
365 views

State of the art deploying Rails applications with git

I'm looking to group together the information on the current best practices for deploying a Rails application on a server I run (rather than, say, Heroku). The application is developed by multiple ...
2
votes
3answers
2k views

Multiple Rails apps on same subdomain?

I recently decided to try out Rails. When working with PHP, I simply had all of my PHP projects in the same directory. For example, I may have http://ubuntu/app1, http://ubuntu/app2, etc. I created a ...
4
votes
0answers
206 views

Rails with phusion passenger and wordpress

We had a site developed using on ruby on rails. It had Website Web services for mobile app Admin panel to manage data. We started using wordpress to manage site content. We have finished ...
1
vote
3answers
394 views

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. ...
1
vote
1answer
368 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
0answers
2k views

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: <VirtualHost ...
2
votes
1answer
549 views

Cannot Install Phusion Passenger 3.0.13 with Nginx 1.2.1

I installed gem Passenger which installed 3.0.13. Then I executed passenger-install-nginx-module which is what the Nginx instructions on http://www.modrails.com said to do. It installs the latest ...
0
votes
1answer
785 views

Rails app deployment challenge, not finding database table in production.log

I'm trying to setup PasswordPusher as my first ruby app ever. Building and running the webrick server as instructed in README works fine. It was only when I tried to add Apache ProxyPass and ...
0
votes
3answers
4k 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 ...
6
votes
1answer
12k 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
179 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
333 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 ...
3
votes
1answer
3k 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
295 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
548 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
131 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
223 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
784 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
308 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
403 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
153 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
173 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
142 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
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
1answer
887 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 ...