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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa235f54deb609fe88dec9acfbe702abaf5706fd96ff82190069290649421c0d
4
- data.tar.gz: 1282d8a13e38329f6a0b997449b4717f1c96be57e6a500d6cd43f276552433cb
3
+ metadata.gz: ac023eda836f375621e21a7edf6ac22b25c0c95be2af92b971d21798530e6d96
4
+ data.tar.gz: d1809419993d2341f76896a456cacf1f77e5c6242bd390b1d10a64da4cdef20c
5
5
  SHA512:
6
- metadata.gz: f081a4ee22383b700e0452e77528c82aab9b341a0b37ac6a1786a0cfe1f1d735ce0bcccc4af62d84345da0d2962ff644c80a05aa31a62ab20015c9f3a184638e
7
- data.tar.gz: d9e3780a456b5300522c4d6db7e6ab3875a454436ca69a2dde1769effa1563bbf4cd736e118ad833ec3c360b59808846ccab1ca9bdd6335b30805fe9b0c414dd
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
- if system("bundle install --deployment --clean")
24
- logger.info "Installing Javascript Dependencies & Pre-compiling Assets ..."
25
- if system("bundle exec rails assets:precompile", out: File::NULL)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.163
4
+ version: 0.0.164
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard