smartcloud 0.0.163 → 0.0.164
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/smartcloud/grids/buildpacker.rb +15 -8
- 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: ac023eda836f375621e21a7edf6ac22b25c0c95be2af92b971d21798530e6d96
|
4
|
+
data.tar.gz: d1809419993d2341f76896a456cacf1f77e5c6242bd390b1d10a64da4cdef20c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2b7bcc9cd8ed0c4c52e0cdea4cf21252a45843ed9ffefd735003ef1ea96fbaeb4701ccb938888b50fe9e6a3d23bcfeb15bfbdf743d77edfda56d76d2df5b55f
|
7
|
+
data.tar.gz: 81d7f68256faca9210371ce7f4a6a73bc98e8c2e8fa1e2f1bcb70b8d231a24d3c38ee91d3f7250db8127d55c3b355568cb0afbb95fe2c900bb245dcac0de8e65
|
@@ -20,16 +20,23 @@ module Smartcloud
|
|
20
20
|
FileUtils.rm("tmp/pids/server.pid") if File.exist? "tmp/pids/server.pid"
|
21
21
|
|
22
22
|
logger.info "Performing bundle install ..."
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
logger.debug "Starting Server ..."
|
27
|
-
if system("god -c Godfile -D")
|
28
|
-
logger.info "Launched Application ... Success."
|
29
|
-
end
|
30
|
-
# exit 0
|
23
|
+
Open3.popen2("bundle", "install", "--deployment", "--clean") do |stdin, stdout_andstderr, wait_thr|
|
24
|
+
stdout_andstderr.each do |line|
|
25
|
+
logger.info "LINE: #{line}"
|
31
26
|
end
|
27
|
+
raise "bundle install failed." unless wait_thr.value.success?
|
32
28
|
end
|
29
|
+
|
30
|
+
# if system("bundle install --deployment --clean")
|
31
|
+
# logger.info "Installing Javascript Dependencies & Pre-compiling Assets ..."
|
32
|
+
# if system("bundle exec rails assets:precompile", out: File::NULL)
|
33
|
+
# logger.debug "Starting Server ..."
|
34
|
+
# if system("god -c Godfile -D")
|
35
|
+
# logger.info "Launched Application ... Success."
|
36
|
+
# end
|
37
|
+
# # exit 0
|
38
|
+
# end
|
39
|
+
# end
|
33
40
|
end
|
34
41
|
end
|
35
42
|
end
|