Okay so the constant thing seems to be a namespace issue. The following
works:
config.after_initialize do
Kernel.const_set(‘FOOBAR’, ‘123’)
end
FOOBAR
=> ‘123’
However,
config.after_initialize do
ExceptionNotifier.exception_recipients = [‘[email protected]’]
puts “Recipients are #{ExceptionNotifier.exception_recipients}”
end