lib/phusion_passenger/standalone/app_finder.rb in passenger-4.0.14 vs lib/phusion_passenger/standalone/app_finder.rb in passenger-4.0.16

- old
+ new

@@ -1,7 +1,7 @@ # Phusion Passenger - https://www.phusionpassenger.com/ -# Copyright (c) 2010 Phusion +# Copyright (c) 2010-2013 Phusion # # "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -31,10 +31,11 @@ attr_reader :apps def self.looks_like_app_directory?(dir) return File.exist?("#{dir}/config.ru") || File.exist?("#{dir}/config/environment.rb") || - File.exist?("#{dir}/passenger_wsgi.py") + File.exist?("#{dir}/passenger_wsgi.py") || + File.exist?("#{dir}/passenger_node.js") end def initialize(dirs, options = {}) @dirs = dirs @options = options