diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-25 08:15:52 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-25 14:41:40 +0300 |
commit | b755673fb63b57751657a55f568ca809e5c7901e (patch) | |
tree | 26aba0d729449126b86b5e36fa7efd180aa83555 /config/initializers/rbtrace.rb | |
parent | 6cb30f83255f0982646fea688f2fe275a3b22cc7 (diff) |
Add rbtrace to Gemfile
This will be enabled if ENABLE_RBTRACE environment variable is defined.
This will allow us to debug all sorts of issues in production:
https://github.com/tmm1/rbtrace
Diffstat (limited to 'config/initializers/rbtrace.rb')
-rw-r--r-- | config/initializers/rbtrace.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/rbtrace.rb b/config/initializers/rbtrace.rb new file mode 100644 index 00000000000..3a076c99ad0 --- /dev/null +++ b/config/initializers/rbtrace.rb @@ -0,0 +1,3 @@ +# frozen_string_literal: true + +require 'rbtrace' if ENV['ENABLE_RBTRACE'] |