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
hernan@i9-9900K:~/Projects/taxonworks-docker$ docker-compose run app bundle exec rake tw:db:load file=dump.sql
Starting taxonworks-docker_db_1 ... done
Dropped database 'taxonworks_development'
Dropped database 'taxonworks_test'
Created database 'taxonworks_development'
Created database 'taxonworks_test'
Initializing restore for development environment
Restoring taxonworks_development from dump.sql
rake aborted!
NoMethodError: undefined method `flatten!' for nil:NilClass
/app/lib/tasks/db/dump_restore.rake:101:in `block (3 levels) in <top (required)>'
/usr/local/bundle/ruby/2.7.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/usr/local/bundle/bin/bundle:113:in `load'
/usr/local/bundle/bin/bundle:113:in `<main>'
Tasks: TOP => tw:db:load
(See full trace by running task with --trace)
@mjy some loading order issue? Although weird given flatten! is probably Ruby core? Perhaps rbenv not equivalent to rvm. Will try to get this fixed ASAP.
The text was updated successfully, but these errors were encountered:
@mjy some loading order issue? Although weird given
flatten!
is probably Ruby core? Perhaps rbenv not equivalent to rvm. Will try to get this fixed ASAP.The text was updated successfully, but these errors were encountered: