I'm having some trouble understanding which port the private_pub gem uses on heroku. Everything works locally, and I can start up the extra dyno on heroku. I figure there has to be a way to set this dynamically.
My Procfile
pubsub: bundle exec rackup private_pub.ru -s thin -E production -p 9292
private_pub.yml
production:
server: "http://myapp.herokuapp.com:9292/faye"
Note that setting the port to $PORT in my Procfile will automatically assign a port, but how do I reference that in private_pub.yml?