Skip to content
This repository has been archived by the owner on Nov 28, 2021. It is now read-only.

Postgresql - Database does not exist error caused by forking this gem #55

Open
weefunker opened this issue Jun 26, 2020 · 1 comment
Open

Comments

@weefunker
Copy link

This gem is currently not working due to not having the correct spree version in the gemspec. I forked the gem and edited the line to allow for version 4.1 of spree. This got the gem working but with some unforeseen consequences.

Every time I tried to create the database it would throw some variation of this error "development Database does not exist "

The error was happening regardless of anything I tried every version of bundle rake db:create after searching for hours on stack overflow for similar issues.

bundle exec rake db:create

I tried downloading the project fresh from git and even tried remaking my project from scratch. However, as soon as this gem was removed from the gemfile the error left with it. No idea what this gem could be doing that would interfere with postgres creating a database but there it is.

@ronzalo
Copy link

ronzalo commented Jul 14, 2020

@weefunker there is some initializer that queries for some table without checking if there is connection to the database first.
Try to uncomment the gem of your Gemfile, create the database and then uncomment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants