lib/rocket_job/cli.rb in rocketjob-5.1.0 vs lib/rocket_job/cli.rb in rocketjob-5.1.1
- old
+ new
@@ -103,14 +103,9 @@
rescue LoadError
nil
end
require 'rocketjob'
- begin
- require 'rocketjob_enterprise'
- rescue LoadError
- nil
- end
# Log to file except when booting rails, when it will add the log file path
path = log_file ? Pathname.new(log_file) : Pathname.pwd.join("log/#{environment}.log")
path.dirname.mkpath
SemanticLogger.add_appender(file_name: path.to_s, formatter: :color)