Answer the question
In order to leave comments, you need to log in
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)
Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question