Rails::Secrets::MissingKeyError Ruby on Rails 5.1.2 Class Rails::Secrets::MissingKeyError < RuntimeError railties/lib/rails/secrets.rb Methods N new Class Public methods new() Link Source: show | on GitHub # File railties/lib/rails/secrets.rb, line 9 def initialize super(" Missing encryption key to decrypt secrets with. Ask your team for your master key and put it in ENV["RAILS_MASTER_KEY"] ".squish) end