Exception: Rails::Secrets::MissingKeyError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rails/secrets.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeMissingKeyError

Returns a new instance of MissingKeyError.



9
10
11
12
13
14
# File 'lib/rails/secrets.rb', line 9

def initialize
  super(<<-end_of_message.squish)
    Missing encryption key to decrypt secrets with.
    Ask your team for your master key and put it in ENV["RAILS_MASTER_KEY"]
  end_of_message
end