File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ After you install stackify-api-ruby you need to run the generator:
3636
3737The generator creates a file 'config/initializers/stackify.rb' configuring stackify-api-ruby with your API key. You can change default settings there.
3838
39- In your 'config/initializers/stackify.rb' file don't forget to add 'Stackify::EnvDetails.instance.set_rails_info'
40-
4139### Non-Rails
4240
4341For using stackify-api-ruby gem within any Ruby application add to top of your main file:
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ def run async = true
107107 if Stackify . is_valid?
108108 at_exit { make_remained_job }
109109 t1 = Thread . new { Stackify . authorize }
110+ Stackify ::EnvDetails . instance . set_rails_info if ( Object . const_defined? ( 'Rails::Info' ) )
110111 case Stackify . configuration . mode
111112 when MODES [ :both ]
112113 t2 = start_logging
You can’t perform that action at this time.
0 commit comments