smartcloud 0.0.165 → 0.0.166
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 +6 -3
- 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: 9a4bc7cca8e832c9c6facc8504e63191f104d3594fb89939dd32a8d432f6e4d0
|
4
|
+
data.tar.gz: 4fb55206b6ae3e2f3a90538ade94430d6f318e9b63c404622756781eb0fd140f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a92dc0e156683c83f92cc59f6ae51ccea3c1271faa7bf001b013708984f4d4d1a50500ef3a041954951f9d01e2b8411791494489f4c374d2e5b23f5c871c88f
|
7
|
+
data.tar.gz: 48159337edee2d7ccfb55f5347046f5ea8cdd6658bfb5171824f15a53ca6873136ee685b16a68797bf6488ddb47c685c126252d35448e52cd7bf431193717902
|
@@ -8,7 +8,7 @@ module Smartcloud
|
|
8
8
|
|
9
9
|
def pack
|
10
10
|
logger.formatter = proc do |severity, datetime, progname, message|
|
11
|
-
|
11
|
+
"\t\t\t-----> #{severity}: #{message}\n"
|
12
12
|
end
|
13
13
|
|
14
14
|
pack_rails if File.exist? "bin/rails"
|
@@ -22,11 +22,14 @@ module Smartcloud
|
|
22
22
|
FileUtils.rm("tmp/pids/server.pid") if File.exist? "tmp/pids/server.pid"
|
23
23
|
|
24
24
|
logger.info "Performing bundle install ..."
|
25
|
+
logger.formatter = proc do |severity, datetime, progname, message|
|
26
|
+
"\t\t\t\t\t#{message}"
|
27
|
+
end
|
25
28
|
Open3.popen2("bundle", "install", "--deployment", "--clean") do |stdin, stdout_andstderr, wait_thr|
|
26
29
|
stdout_andstderr.each do |line|
|
27
|
-
logger.info "
|
30
|
+
logger.info "#{line}"
|
28
31
|
end
|
29
|
-
raise "bundle install failed."
|
32
|
+
raise "bundle install failed." if wait_thr.value.success?
|
30
33
|
end
|
31
34
|
|
32
35
|
# if system("bundle install --deployment --clean")
|