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'
, then call rails server unicorn -e production
, but I can't find the socket file. So I am considering if it doesn't use the config/unicorn.rb
file as the configuration? So I call unicorn_rails -c config/unicorn.rb -E production -D
, but I get another error text file busy
.
So now I am stuck in this matter, could you help me? :)
It should be something looks like:
bundle exec unicorn -E production -c config/unicorn.rb
and you should only need unicorn
gem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With