config.eager_load is set to nil.のエラーの対処

capistranoでデプロイしたら下記のエラーがでました

DEBUG[64826cf4] 	config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:
DEBUG[64826cf4]
DEBUG[64826cf4] 	  * development - set it to false
DEBUG[64826cf4] 	  * test - set it to false (unless you use a tool that preloads your test environment)
DEBUG[64826cf4] 	  * production - set it to true
DEBUG[64826cf4]
DEBUG[64826cf4] 	rake aborted!
DEBUG[64826cf4] 	ActiveRecord::AdapterNotSpecified: 'staging' database is not configured. Available: ["default", "test", "development", "production"]

config/database.ymlにstagingの設定がなかったためでした。。。