A
A
anasasiakiri4enko2016-08-14 07:55:58
Ruby on Rails
anasasiakiri4enko, 2016-08-14 07:55:58

What causes rails redeployment error on vps?

Hello!
I deploy the application on VPS ubuntu 14.04, the error Could not locate Gemfile crashes. (after cap production deploy but not immediately)
I can't figure out what's wrong.
I deploy according to the video tutorial - https://www.youtube.com/watch?v=OIyAGAA6m94
.gitignor content:

# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
#   git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore Byebug command history file.
.byebug_history
/config/database.production.yml
/config/secrets.production.yml

If you need the contents of other files - write, I'll show you. Or tell me at least where to look?
69022f13c65d4b27bfb5cb3cca13943d.png
f563f4f3985e4f2a936a159940bf817b.png
dcd66df3fc8842b8b4f762e109afe3fb.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
anasasiakiri4enko, 2016-08-15
@anasasiakiri4enko

Problem solved. As it became clear to me, the password from the database was simply incorrectly specified.

V
Vlad Chernik, 2016-08-14
@vladchernik

Bundle tries to find the Gemfile and install all dependencies at the address given after --path, but does not find it. Those. there is no Gemfile at that address. This is the reason for the error.
You have several options:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question