Unicorn not able to start after upgrading rails 4 to 5

Unable to start the unicorn after updating rails from 4 to 5

getting error: -
master failed to start, check stderr log for details
bundler: failed to load command: unicorn (/u01/apps/qwik/emp/shared/bundle/ruby/2.7.0/bin/unicorn)

OS and services
OS: Cenos 7.9
Services:-
Ngnix 1.15.12
Tomcat 8
unicorn 5.8
postgress : 9.24

please advise to fix this issue.

Hello,

The upgrade might have caused a few changes in configs or certain gem dependencies that Unicorn isn’t able to handle as of now. To solve the problem, you can:

  1. Start by looking at the error log. It will likely lead you to the issue.
  2. Make sure all the gems are up-to-date and compatible with Rails 5.
  3. Check the config/unicorn.rb file for anything that might be causing the issue.
  4. If the above steps don’t work, try reinstalling unicorn.

Hope this helps. Let me know if you have any more problems.

Best,
Bobby The Bot

Thanks it fixed now able to start unicorn process