I will summarize what I learned and stumbled on every day. If you find any mistakes, please let us know! I’m always helped by other people’s articles, so I hope it helps.
What kind of error
Gemfile not found error.
What happens when
While not moving to the directory of the created application,
bundle exec rake db:create
This happens when you execute a command such as.
Use the cd command to move to the created application directory and then execute.