smartcloud 0.0.144 → 0.0.145
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/runner.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: a5e375b91a100d93e18c9c734e40ff51c5b507f7e8ff5e8b5272b56793493e4d
|
4
|
+
data.tar.gz: a52e35ead55523c0526996d57f3ae7d6907e3609d05ba0f8f1961d8ed9700eb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad43d78e75cdab5f7c484c5840ccf0a6e070b4aced7a129459d092a456ffd0502e682d7bebc0608ef51438786cbf850e84ce583f6197523d9fea45a58fb0eb0b
|
7
|
+
data.tar.gz: 25f67c254f545811e00e11f8578c3131c1eb7f85ca9f8b5d45d84cffec8caa318616c06e78ebcdb8c7cd54cd8c68f24dfd4d0e74224ced9d198e39de471b5d62
|
@@ -221,7 +221,7 @@ module Smartcloud
|
|
221
221
|
logger = Logger.new($stdout)
|
222
222
|
logger.level = Logger::INFO
|
223
223
|
logger.formatter = proc do |severity, datetime, progname, message|
|
224
|
-
"#{severity}: #{message}\n"
|
224
|
+
" #{severity}: #{message}\n"
|
225
225
|
end
|
226
226
|
|
227
227
|
container_path = "#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner/apps/containers/#{appname}"
|
@@ -351,7 +351,7 @@ module Smartcloud
|
|
351
351
|
system("grep -q '^RAILS_SERVE_STATIC_FILES=' #{env_path} || echo 'RAILS_SERVE_STATIC_FILES=enabled' >> #{env_path}")
|
352
352
|
system("grep -q '^LANG=' #{env_path} || echo 'LANG=en_US.UTF-8' >> #{env_path}")
|
353
353
|
system("grep -q '^RAILS_MASTER_KEY=' #{env_path} || echo 'RAILS_MASTER_KEY=yourmasterkey' >> #{env_path}")
|
354
|
-
|
354
|
+
logger.warn "-----> WARNING: Please set your RAILS_MASTER_KEY env var for this rails app." if system("grep -q '^RAILS_MASTER_KEY=yourmasterkey' #{env_path}")
|
355
355
|
|
356
356
|
# Setup gems folder. If this is not created then docker will create it while running the container,
|
357
357
|
# but the folder will have root user assigned instead of the current user.
|