basically, I just follow guide to setup a runable rails project.
when I settings done, I run rails g hyper:component Helloworld to start code.
But, I got: database "hyperloop_webpacker_example_development" does not exist.
It fine, I know I should run rake db:create, but when I run it, i got same error:
/home/zw963/.rvm/gems/ruby-2.3.4/gems/activerecord-5.1.2/lib/active_record/connection_adapters/postgresql_adapter.rb:705:in `rescue in connect': FATAL: database "hyperloop_webpacker_example_development" does not exist
It just a dependency deep loop.
the only way is: comment all code in config/initializer/hyperloop.rb, then run db:create,
and then uncomment .
basically, I just follow guide to setup a runable rails project.
when I settings done, I run
rails g hyper:component Helloworld
to start code.But, I got:
database "hyperloop_webpacker_example_development" does not exist
.It fine, I know I should run
rake db:create
, but when I run it, i got same error:It just a dependency deep loop.
the only way is: comment all code in
config/initializer/hyperloop.rb
, then rundb:create
, and then uncomment .