smartcloud 0.0.86 → 0.0.87
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b1673f97b21d059c9ceaadafa350efd5413e5556c44a9647297ac825b2d1197
|
4
|
+
data.tar.gz: b9a1646eba167ba53fb46a634295193f1b7df68dc890e33d7c98a137bf9b165b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19e3a6551e0fe6da922863cc193e52d1ec151bcbfa26b71541fc8aad1dcab3fe887bbb531b95dc9705d70f8981f032a72dab9eef1fb52d1a54ced88acaa5dc5b
|
7
|
+
data.tar.gz: 10856c7412684a3128487726b321e0c00d846fb373a2e0454413b434d267e2580e21cc4fb014c8a3106192b85433689a0acdf44da04e1c821561edf5d924c2b2
|
@@ -12,7 +12,7 @@ class Buildpacker
|
|
12
12
|
FileUtils.rm("tmp/pids/server.pid") if File.exist? "tmp/pids/server.pid"
|
13
13
|
|
14
14
|
puts "-----> Performing bundle install ... "
|
15
|
-
if system("bundle install --deployment --clean
|
15
|
+
if system("bundle install --deployment --clean")
|
16
16
|
puts "-----> Installing Javascript Dependencies & Pre-compiling Assets ... "
|
17
17
|
if system("bundle exec rails assets:precompile", out: File::NULL)
|
18
18
|
puts "done"
|
@@ -338,7 +338,7 @@ module Smartcloud
|
|
338
338
|
|
339
339
|
# Setup rails env
|
340
340
|
env_path = "#{container_path}/env"
|
341
|
-
system("grep -q '^## Rails' #{env_path} || echo '
|
341
|
+
system("grep -q '^## Rails' #{env_path} || echo '## Rails' >> #{env_path}")
|
342
342
|
system("grep -q '^RAILS_ENV=' #{env_path} || echo 'RAILS_ENV=production' >> #{env_path}")
|
343
343
|
system("grep -q '^RACK_ENV=' #{env_path} || echo 'RACK_ENV=production' >> #{env_path}")
|
344
344
|
system("grep -q '^RAILS_LOG_TO_STDOUT=' #{env_path} || echo 'RAILS_LOG_TO_STDOUT=enabled' >> #{env_path}")
|