lib/smartcloud/grids/buildpacker.rb in smartcloud-0.0.162 vs lib/smartcloud/grids/buildpacker.rb in smartcloud-0.0.163

- old
+ new

@@ -3,11 +3,17 @@ class Buildpacker < Smartcloud::Base def initialize end def pack + logger.formatter = proc do |severity, datetime, progname, message| + "\t\t\t-----> #{severity}: #{message}\n" + end + pack_rails if File.exist? "bin/rails" logger.info "Could not continue ... Launch Failed." + + logger.formatter = nil end def pack_rails # Remove server.pid if it exists FileUtils.rm("tmp/pids/server.pid") if File.exist? "tmp/pids/server.pid"