App can be zip file or directory #149

This commit is contained in:
bootstraponline
2013-02-09 12:50:06 -05:00
parent a66caf8698
commit 6a92151bc2
-1
View File
@@ -45,7 +45,6 @@ end
def absolute_app_path
file = File.join(File.dirname(__FILE__), APP_PATH)
raise "App doesn't exist #{file}" unless File.exist? file
raise "App must be a directory #{file}" unless File.directory? file
file
end