ryanb/private_pub — Issue #28: How does PrivatePub start with Rails deployment in a production enviroment?
Author: foncho
Created: 2012-01-19 17:45:10+00:00
State: open

Hi, I'm tryin' to deploy this awesome gem in one of my rails app. Al works properly when I run

'''ruby
rackup private_pub -s thin -E production
'''

in one command shell and in another:

'''ruby
rails s
'''

But, when all I develop is workin' fine in a development enviroment, it's time to launch it up on a production server, where my Apache and Mod Passenger are well configured and my Rails app, without the private_pub channel, is working fine.

In short: what I need to configure my server in order to start Rails and PrivatePub services simultaneously?

Thx in advance

The issues is: what can I do for deploy the private_pub.ru configuration simultaneously with the existing Rails app? Do I really need to use the same command in a production environment for using private_pub?