Skip to content

Commit 63d1996

Browse files
author
Joselito Tapangan
committed
Transfer the setting of rails value to authorizable.rb
1 parent ab8b499 commit 63d1996

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/stackify-api-ruby.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def configuration
4444
def setup
4545
@workers = []
4646
yield(configuration) if block_given?
47-
Stackify::EnvDetails.instance.set_rails_info
4847
if configuration.is_valid?
4948
@status = STATUSES[:working]
5049
else
@@ -107,7 +106,7 @@ def internal_log level, msg
107106
def run async = true
108107
if Stackify.is_valid?
109108
at_exit { make_remained_job }
110-
t1 = Thread.new { Stackify.authorize }
109+
t1 = Thread.new { Stackify.authorize }
111110
case Stackify.configuration.mode
112111
when MODES[:both]
113112
t2 = start_logging

0 commit comments

Comments
 (0)