oasis4hedev / salsa-docker-compose

0 stars 1 forks source link

setting up dev env rake db:migrate #12

Open opsaaaaa opened 5 years ago

opsaaaaa commented 5 years ago

when setting up dev environment i ran into this error:

$ docker-compose run --rm salsa rake db:migrate
Starting salsadockercompose_db_1 ... done
rake aborted!
Devise.secret_key was not set. Please add the following to your Devise initializer:

  config.secret_key = "....."

adding the line to config/initializers/devise.rb fixes the issue.