Bonjour,
pour être en conformité avec le RGPD je tente de mettre à jour mon application selon la procédure définie ici.
Je part d’une version 2.5.11 et il semble que rake db:migrate plante sur la maj 2.8.0.
Voici l’erreur
docker-compose run --rm fabmanager bundle exec rake db:migrate --trace
Starting fabmanager_elasticsearch_1 …
Starting fabmanager_elasticsearch_1 … done
Starting fabmanager_postgres_1 … done
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
AuthProvider Load (0.2ms) SELECT « auth_providers ».* FROM « auth_providers » WHERE « auth_providers ».« status » = $1 LIMIT 1 [[« status », « active »]]
AuthProvider Load (0.2ms) SELECT « auth_providers ».* FROM « auth_providers » WHERE « auth_providers ».« status » = $1 LIMIT 1 [[« status », « active »]]
AuthProvider Load (0.2ms) SELECT « auth_providers ».* FROM « auth_providers » WHERE « auth_providers ».« status » = $1 LIMIT 1 [[« status », « active »]]
AuthProvider Load (0.2ms) SELECT « auth_providers ».* FROM « auth_providers » WHERE « auth_providers ».« status » = $1 LIMIT 1 [[« status », « active »]]
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
ActiveRecord::SchemaMigration Load (0.3ms) SELECT « schema_migrations ».* FROM « schema_migrations »
Migrating to MigrateSettingsValueToHistoryValues (20181217103441)
(0.1ms) BEGIN
== 20181217103441 MigrateSettingsValueToHistoryValues: migrating ==============
User Load (1.4ms) SELECT « users ».* FROM « users » INNER JOIN « users_roles » ON « users_roles ».« user_id » = « users ».« id » INNER JOIN « roles » ON « roles ».« id » = « users_roles ».« role_id » WHERE (((roles.name = ‹ admin ›) AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) ORDER BY « users ».« id » ASC LIMIT 1
Setting Load (0.5ms) SELECT « settings ».* FROM « settings »
(0.1ms) ROLLBACK
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
unknown attribute ‹ user › for HistoryValue.
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/attribute_assignment.rb:59:inrescue in _assign_attribute' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/attribute_assignment.rb:53:in
_assign_attribute’
/usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:67:inblock in assign_attributes' /usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:61:in
each’
/usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:61:inassign_attributes' /usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/core.rb:8:in
init_attributes’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/core.rb:281:ininitialize' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/inheritance.rb:61:in
new’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/inheritance.rb:61:innew' /usr/src/app/db/migrate/20181217103441_migrate_settings_value_to_history_values.rb:5:in
block in up’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/relation/delegation.rb:46:ineach' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/relation/delegation.rb:46:in
each’
/usr/src/app/db/migrate/20181217103441_migrate_settings_value_to_history_values.rb:4:inup' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:611:in
exec_migration’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:592:inblock (2 levels) in migrate' /usr/local/lib/ruby/2.3.0/benchmark.rb:293:in
measure’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:591:inblock in migrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
with_connection’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:590:inmigrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:768:in
migrate’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1023:inblock in execute_migration_in_transaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1069:in
block in ddl_transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:inblock in transaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in
within_new_transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:intransaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/transactions.rb:220:in
transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1069:inddl_transaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1022:in
execute_migration_in_transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:984:inblock in migrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:980:in
each’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:980:inmigrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:823:in
up’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:801:inmigrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/tasks/database_tasks.rb:139:in
migrate’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/railties/databases.rake:44:inblock (2 levels) in <top (required)>' /usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:273:in
block in execute’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:273:ineach' /usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:273:in
execute’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:214:inblock in invoke_with_call_chain' /usr/local/lib/ruby/2.3.0/monitor.rb:214:in
mon_synchronize’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:194:ininvoke_with_call_chain' /usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:183:in
invoke’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:160:ininvoke_task' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:116:in
block (2 levels) in top_level’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:116:ineach' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:116:in
block in top_level’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:125:inrun_with_threads' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:110:in
top_level’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:83:inblock in run' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:186:in
standard_exception_handling’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:80:inrun' /usr/local/bundle/gems/rake-12.3.3/exe/rake:27:in
<top (required)>’
/usr/local/bundle/bin/rake:23:inload' /usr/local/bundle/bin/rake:23:in
<top (required)>’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:74:inload' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:74:in
kernel_load’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:28:inrun' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:463:in
exec’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/command.rb:27:inrun' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in
invoke_command’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor.rb:387:indispatch' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:27:in
dispatch’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/base.rb:466:instart' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:18:in
start’
/usr/local/bin/bundle:30:inblock in <main>' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/friendly_errors.rb:124:in
with_friendly_errors’
/usr/local/bin/bundle:22:in `’
Caused by:
ActiveRecord::UnknownAttributeError: unknown attribute ‹ user › for HistoryValue.
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/attribute_assignment.rb:59:inrescue in _assign_attribute' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/attribute_assignment.rb:53:in
_assign_attribute’
/usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:67:inblock in assign_attributes' /usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:61:in
each’
/usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:61:inassign_attributes' /usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/core.rb:8:in
init_attributes’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/core.rb:281:ininitialize' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/inheritance.rb:61:in
new’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/inheritance.rb:61:innew' /usr/src/app/db/migrate/20181217103441_migrate_settings_value_to_history_values.rb:5:in
block in up’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/relation/delegation.rb:46:ineach' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/relation/delegation.rb:46:in
each’
/usr/src/app/db/migrate/20181217103441_migrate_settings_value_to_history_values.rb:4:inup' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:611:in
exec_migration’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:592:inblock (2 levels) in migrate' /usr/local/lib/ruby/2.3.0/benchmark.rb:293:in
measure’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:591:inblock in migrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
with_connection’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:590:inmigrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:768:in
migrate’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1023:inblock in execute_migration_in_transaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1069:in
block in ddl_transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:inblock in transaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in
within_new_transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:intransaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/transactions.rb:220:in
transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1069:inddl_transaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1022:in
execute_migration_in_transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:984:inblock in migrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:980:in
each’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:980:inmigrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:823:in
up’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:801:inmigrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/tasks/database_tasks.rb:139:in
migrate’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/railties/databases.rake:44:inblock (2 levels) in <top (required)>' /usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:273:in
block in execute’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:273:ineach' /usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:273:in
execute’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:214:inblock in invoke_with_call_chain' /usr/local/lib/ruby/2.3.0/monitor.rb:214:in
mon_synchronize’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:194:ininvoke_with_call_chain' /usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:183:in
invoke’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:160:ininvoke_task' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:116:in
block (2 levels) in top_level’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:116:ineach' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:116:in
block in top_level’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:125:inrun_with_threads' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:110:in
top_level’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:83:inblock in run' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:186:in
standard_exception_handling’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:80:inrun' /usr/local/bundle/gems/rake-12.3.3/exe/rake:27:in
<top (required)>’
/usr/local/bundle/bin/rake:23:inload' /usr/local/bundle/bin/rake:23:in
<top (required)>’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:74:inload' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:74:in
kernel_load’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:28:inrun' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:463:in
exec’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/command.rb:27:inrun' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in
invoke_command’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor.rb:387:indispatch' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:27:in
dispatch’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/base.rb:466:instart' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:18:in
start’
/usr/local/bin/bundle:30:inblock in <main>' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/friendly_errors.rb:124:in
with_friendly_errors’
/usr/local/bin/bundle:22:in `’
Caused by:
NoMethodError: undefined methoduser=' for #<HistoryValue:0x000055c048fc6d28> Did you mean? user /usr/local/bundle/gems/activemodel-4.2.11.1/lib/active_model/attribute_methods.rb:433:in
method_missing’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/attribute_assignment.rb:54:inpublic_send' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/attribute_assignment.rb:54:in
_assign_attribute’
/usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:67:inblock in assign_attributes' /usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:61:in
each’
/usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:61:inassign_attributes' /usr/local/bundle/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/core.rb:8:in
init_attributes’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/core.rb:281:ininitialize' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/inheritance.rb:61:in
new’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/inheritance.rb:61:innew' /usr/src/app/db/migrate/20181217103441_migrate_settings_value_to_history_values.rb:5:in
block in up’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/relation/delegation.rb:46:ineach' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/relation/delegation.rb:46:in
each’
/usr/src/app/db/migrate/20181217103441_migrate_settings_value_to_history_values.rb:4:inup' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:611:in
exec_migration’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:592:inblock (2 levels) in migrate' /usr/local/lib/ruby/2.3.0/benchmark.rb:293:in
measure’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:591:inblock in migrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
with_connection’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:590:inmigrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:768:in
migrate’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1023:inblock in execute_migration_in_transaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1069:in
block in ddl_transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:inblock in transaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in
within_new_transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:intransaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/transactions.rb:220:in
transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1069:inddl_transaction' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:1022:in
execute_migration_in_transaction’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:984:inblock in migrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:980:in
each’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:980:inmigrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:823:in
up’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/migration.rb:801:inmigrate' /usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/tasks/database_tasks.rb:139:in
migrate’
/usr/local/bundle/gems/activerecord-4.2.11.1/lib/active_record/railties/databases.rake:44:inblock (2 levels) in <top (required)>' /usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:273:in
block in execute’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:273:ineach' /usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:273:in
execute’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:214:inblock in invoke_with_call_chain' /usr/local/lib/ruby/2.3.0/monitor.rb:214:in
mon_synchronize’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:194:ininvoke_with_call_chain' /usr/local/bundle/gems/rake-12.3.3/lib/rake/task.rb:183:in
invoke’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:160:ininvoke_task' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:116:in
block (2 levels) in top_level’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:116:ineach' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:116:in
block in top_level’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:125:inrun_with_threads' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:110:in
top_level’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:83:inblock in run' /usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:186:in
standard_exception_handling’
/usr/local/bundle/gems/rake-12.3.3/lib/rake/application.rb:80:inrun' /usr/local/bundle/gems/rake-12.3.3/exe/rake:27:in
<top (required)>’
/usr/local/bundle/bin/rake:23:inload' /usr/local/bundle/bin/rake:23:in
<top (required)>’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:74:inload' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:74:in
kernel_load’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:28:inrun' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:463:in
exec’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/command.rb:27:inrun' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in
invoke_command’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor.rb:387:indispatch' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:27:in
dispatch’
/usr/local/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/base.rb:466:instart' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:18:in
start’
/usr/local/bin/bundle:30:inblock in <main>' /usr/local/lib/ruby/site_ruby/2.3.0/bundler/friendly_errors.rb:124:in
with_friendly_errors’
/usr/local/bin/bundle:22:in `’
Tasks: TOP => db:migrate
Merci d’avance pour votre aide.