Bundler:failed to load command:unicorn_rails occurs when attempting to deploy rails' posting app through unicorn

Asked 2 years ago, Updated 2 years ago, 41 views

I am currently trying to create a posting app in rails and deploy it in AWS, but when I try to launch rails with the following command, an error is displayed.

commands executed:

bundle exec unicorn_rails-c config/unicorn.rb-E production-D

error messages:

master failed to start, check stderr log for details

When I checked the error statement, it looks like an image, but it works fine locally, and I think there is a problem with the gem, but I don't know where to change it.
If anyone knows where the problem is, please let me know.

Enter a description of the image here

ruby-on-rails ruby aws

2022-09-29 22:18

1 Answers

There was someone who was experiencing a similar error, so I will post a link.

Error restarting unicorn [uninitialized constant Users (NameError)] -Qiita

I searched unicorn rails uninitialized constant and it was a hit.
If an error occurs, you may want to search by error message and command name.


2022-09-29 22:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.