noosfero | WIP: Rails 5.1.6 Upgrade (!1438)
Álax Alves
gitlab at mg.gitlab.com
Thu May 24 11:02:19 BRT 2018
Álax Alves commented on a discussion on lib/tasks/db.rake:
> # Tries to initialize the application.
> # It will fail if the database does not exist
> Rake::Task['environment'].invoke
> + ActiveRecord::Base.connection
I realized that sometimes the docker entrypoint script wasn't recognizing the previously created database, and it outputed some "ugly" logs - sometimes not doing what it should - after verifying the db connection through active record's default handling, it fixed the problem
--
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1438#note_74826728
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180524/c747ac30/attachment-0001.html>
More information about the Noosfero-dev
mailing list