I just installed Ruby on Rails v5 but when I run the rails server and go to browser, this error comes up?
def retrieve_connection(spec_name) #:nodoc:
pool = retrieve_connection_pool(spec_name)
raise ConnectionNotEstablished, "No connection pool with id #{spec_name} found." unless pool
conn = pool.connection
raise ConnectionNotEstablished, "No connection for #{spec_name} in connection pool" unless conn
conn
I had this problem myself; one or more of the databases you are using on your database.yml files are currently not installed.
run: gem install sqlite3
If you are using a different database, run the corresponding gem install command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With