lib/rocket_job/cli.rb in rocketjob-4.0.0 vs lib/rocket_job/cli.rb in rocketjob-4.1.0

- old
+ new

@@ -45,11 +45,11 @@ opts = {} opts[:name] = name if name opts[:max_workers] = workers if workers opts[:filter] = filter if filter - Server.run(opts) + Supervisor.run(opts) end def rails? @rails ||= begin boot_file = Pathname.new(directory).join('config/environment.rb').expand_path @@ -94,10 +94,10 @@ nil end require 'rocketjob' begin - require 'rocketjob_batch' + require 'rocketjob_enterprise' rescue LoadError nil end # Log to file except when booting rails, when it will add the log file path