File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ 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' insert a this line of snippet 'Stackify::EnvDetails.instance.set_rails_info'
40+
3941### Non-Rails
4042
4143For 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,7 +107,6 @@ 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
111110 case Stackify . configuration . mode
112111 when MODES [ :both ]
113112 t2 = start_logging
You can’t perform that action at this time.
0 commit comments