I add Gem \'unicorn\' to Gemfile and call rails server unicorn -e production, but I get a load error. Then I add Gem \'unicorn_rails\'
Gem \'unicorn\'
rails server unicorn -e production
Gem \'unicorn_rails\'
bundle exec unicorn -p $PORT -c ./config/unicorn.rb
works for me
I put it in the Procfile and then use Foreman to start it off by entering
foreman start