lib/falcon/command/host.rb
# Prepare the environment and run the controller.
Prepare the environment and run the controller.
Prepare the environment and run the controller .
def call
				Console.logger.info(self) do |buffer|
					buffer.puts "Falcon Host v#{VERSION} taking flight!"
					buffer.puts "- Configuration: #{@paths.join(', ')}"
					buffer.puts "- To terminate: Ctrl-C or kill #{Process.pid}"
					buffer.puts "- To reload: kill -HUP #{Process.pid}"
				end
				begin
					Bundler.require(:preload)
				rescue Bundler::GemfileNotFound
				end
				if GC.respond_to?(:compact)
					GC.compact
				end
				self.controller.run
			end
def call Console . logger . info ( self ) do | buffer | buffer . puts "Falcon Host v#{VERSION} taking flight!" buffer . puts "- Configuration: #{@paths.join(', ')}" buffer . puts "- To terminate: Ctrl-C or kill #{Process.pid}" buffer . puts "- To reload: kill -HUP #{Process.pid}" end begin Bundler . require ( :preload ) rescue Bundler :: GemfileNotFound end if GC . respond_to? ( :compact ) GC . compact end self . controller . run end
Prepare the environment and run the controller.
Prepare the environment and run the controller .
# Ignore.