Disable spring while generating secret token
That causes a cyclic dependency on spring being loaded otherwise.
This commit is contained in:
parent
88e150e4a0
commit
120b46931d
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ module Configuration
|
|||
File.dirname(__FILE__)
|
||||
)
|
||||
unless File.exist? token_file
|
||||
`bin/rake generate:secret_token`
|
||||
`DISABLE_SPRING=1 bin/rake generate:secret_token`
|
||||
end
|
||||
require token_file
|
||||
Diaspora::Application.config.secret_key_base
|
||||
|
|
|
|||
Loading…
Reference in a new issue