remove deprecated threadsafe! option
Use ||= syntax
add simple secret_key_base for development and don'ttry to initialize redis is not env variable present