You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundle exec rails db:setup
/opt/hdm/vendor/bundle/ruby/3.2.0/gems/io-event-1.3.3/lib/io/event/support.rb:24: warning: IO::Buffer is experimental and both the Ruby and C interface may change in the future!
bin/rails aborted!
NoMethodError: undefined method `[]' for nil:NilClass (NoMethodError)
if Rails.configuration.hdm['read_only']
^^^^^^^^^^^^^
/opt/hdm/config/routes.rb:32:in `block (3 levels) in <top (required)>'
Looks like hdm.yml only has configuration for the production environment. When running bundle exec rails db:setup it will try to set up the development (and test) database(s).
Either add a development-config to hdm.yml or run RAILS_ENV=production bundle exec rails db:setup.
When running a Manual Installation (https://github.com/betadots/hdm/blob/main/MANUAL_INSTALL.md) the task to set up the database fails:
HDM config:
The text was updated successfully, but these errors were encountered: