Skip to content

Commit 7556e8c

Browse files
author
Joselito Tapangan
committed
Fix the authorize issue and the null value of generated log.
1 parent 6a24307 commit 7556e8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ After you install stackify-api-ruby you need to run the generator:
3636

3737
The 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

4143
For using stackify-api-ruby gem within any Ruby application add to top of your main file:

lib/stackify-api-ruby.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)