K
K
kramidev2015-02-11 12:41:27
Ruby on Rails
kramidev, 2015-02-11 12:41:27

How to find out which server heroku is using?

Hi all. How to find out which server heroku is using. Whether he grabbed unicorn or launched a web bric.
Typed heroku ps
Issued

=== web (1X): `bin/rails server -p $PORT -e $RAILS_ENV`
web.1: up 2015/02/11 15:32:45 (~ 1m ago)

What is it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
donnybrookfair, 2015-02-12
@kramidev

In order to run an application on unicorn, the 'unicorn' gem and the 'unicorn-rails' gem must be present in the Gemfile and Procfile with content like this:

web: bin/unicorn -p $PORT -e $RAILS_ENV -c ./config/unicorn.rb

V
Viktor Vsk, 2015-02-11
@viktorvsk

You can configure Procfile https://devcenter.heroku.com/articles/procfile
Here is what a Procfile is: https://github.com/ddollar/foreman

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question