1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

fix startup with no env

This commit is contained in:
Mike Perham 2014-03-01 12:57:01 -08:00
parent b5aa74642a
commit 841095bbe0

View file

@ -58,7 +58,7 @@ module Sidekiq
end
# Print logo and banner for development
if options[:environment] == 'development'
if environment == 'development'
if Sidekiq::NAME == 'Sidekiq Pro'
puts "\e[#{31}m"
print_pro_banner