src/ruby_supportlib/phusion_passenger/standalone/app_finder.rb
# Only pass `local_options` if the directory that you're checking is
# the directory that should be used in single mode.
#
# `local_options` must be the the value obtained from
# `ConfigUtils.load_local_config_file_from_app_dir_param!`.
Only pass `local_options` if the directory that you're checking is
the directory that should be used in single mode.


Only pass ` local_options ` if the directory that you ' re checking is the directory that should be used in single mode .
def looks_like_app_directory?(dir, options = {}, local_options = {})
        options = options.dup
        ConfigUtils.load_local_config_file!(dir, options)
        options[:app_type] ||
        options[:app_start_command] ||
          STARTUP_FILES.any? do |file|
            File.exist?("#{dir}/#{file}")
          end
      end
def looks_like_app_directory? ( dir , options = { } , local_options = { } ) options = options . dup ConfigUtils . load_local_config_file! ( dir , options ) options [ :app_type ] || options [ :app_start_command ] || STARTUP_FILES . any? do | file | File . exist? ( "#{dir}/#{file}" ) end end
Only pass `local_options` if the directory that you're checking is
the directory that should be used in single mode.
Only pass ` local_options ` if the directory that you ' re checking is the directory that should be used in single mode .
dir
options
local_options