lib/invoker.rb in invoker-1.1.0 vs lib/invoker.rb in invoker-1.2.0.pre

- old
+ new

@@ -16,10 +16,12 @@ require "invoker/dns_cache" require "invoker/ipc" require "invoker/power/config" require "invoker/power/port_finder" require "invoker/power/setup" +require "invoker/power/setup/linux_setup" +require "invoker/power/setup/osx_setup" require "invoker/power/powerup" require "invoker/errors" require "invoker/parsers/procfile" require "invoker/parsers/config" require "invoker/commander" @@ -60,10 +62,9 @@ def daemon @daemon ||= Invoker::Daemon.new end def can_run_balancer?(throw_warning = true) - return false unless darwin? return true if File.exist?(Invoker::Power::Config::CONFIG_LOCATION) if throw_warning Invoker::Logger.puts("Invoker has detected setup has not been run. Domain feature will not work without running setup command.".color(:red)) end