smartcloud 0.1.0.rc3 → 0.1.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smartcloud/grids/buildpacker.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1794aa20175c247580a192b55b7a35a3fe06beb53c34d43976db4f7956ed7d3d
|
4
|
+
data.tar.gz: c369d0bd11bfe758349901c32310ed74c73fec943d16d44ab44ebbdf4f8d8c27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b97865250155b0797e319b697b47ee37d1e961118f112c61aa540dc4f459f7dde2d75b3042cafcb0b29a255a475dd28a878eabd2f1817cda502e65b7ca18c993
|
7
|
+
data.tar.gz: c7d05795219cde5f68ad0e33766d607a1ce90226a8d08715033555789a06ae3fe5d1c63764d90b8d4b83f5a6c7b207e4fd515e14d2e2a992d181e11bc2abf4a8
|
@@ -82,7 +82,7 @@ module Smartcloud
|
|
82
82
|
FileUtils.rm_f("tmp/smartcloud/packed")
|
83
83
|
|
84
84
|
# Spawn Process
|
85
|
-
pid = Process.spawn("bundle", "exec", "puma", "--config", "config/puma.rb")
|
85
|
+
pid = Process.spawn("bundle", "exec", "puma", "--config", "config/puma.rb", out: File::NULL)
|
86
86
|
Process.detach(pid)
|
87
87
|
|
88
88
|
# Sleep
|
@@ -92,7 +92,7 @@ module Smartcloud
|
|
92
92
|
status = nil
|
93
93
|
begin
|
94
94
|
Process.kill(0, pid)
|
95
|
-
system("#{pid}
|
95
|
+
system("echo '#{pid}' > tmp/smartcloud/packed")
|
96
96
|
status = true
|
97
97
|
rescue Errno::ESRCH # No such process
|
98
98
|
logger.info "Web Server could not start"
|