fly.io-rails 0.3.3 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fly.io-rails/actions.rb +3 -5
- data/lib/fly.io-rails/version.rb +1 -1
- data/lib/generators/templates/Dockerfile.erb +0 -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: 4ff2b6f58e2b953fe73e4a91e72740c0084565980444f31f7b4b2ecd045654b5
|
4
|
+
data.tar.gz: b9a263ec7aaa71ef3f26e31dbbf29bf21624dcb08df1c54ca4ee5c3891ebd727
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30f8d54ea129c64539144914471627c7d4a27c9e7c9cb77cd5ab0600369abca5fa39a35b97f60cd199b21187b0e6bc72df1bcfffc1c6aefe4724095642252b8e
|
7
|
+
data.tar.gz: 1087ba09b1a08049f4c7bf9e7625dc27dcc6c5addad7640175eb2c09f90a6f2d204c03360719d032920c0b4b897ebf8ac68e654edf1ab681a8e602889adb09aa
|
data/lib/fly.io-rails/actions.rb
CHANGED
@@ -307,23 +307,21 @@ module Fly
|
|
307
307
|
if @anycable and not @gemfile.include? 'anycable-rails'
|
308
308
|
cmd = 'bundle add anycable-rails'
|
309
309
|
say_status :run, cmd
|
310
|
-
|
311
|
-
system 'bundle install'
|
310
|
+
Bundler.with_original_env { system cmd }
|
312
311
|
exit $?.exitstatus unless $?.success?
|
313
312
|
end
|
314
313
|
|
315
314
|
if @postgresql and not @gemfile.include? 'pg'
|
316
315
|
cmd = 'bundle add pg'
|
317
316
|
say_status :run, cmd
|
318
|
-
|
319
|
-
system 'bundle install'
|
317
|
+
Bundler.with_original_env { system cmd }
|
320
318
|
exit $?.exitstatus unless $?.success?
|
321
319
|
end
|
322
320
|
|
323
321
|
if @redis and not @gemfile.include? 'redis'
|
324
322
|
cmd = 'bundle add redis'
|
325
323
|
say_status :run, cmd
|
326
|
-
system cmd
|
324
|
+
Bundler.with_original_env { system cmd }
|
327
325
|
exit $?.exitstatus unless $?.success?
|
328
326
|
end
|
329
327
|
end
|
data/lib/fly.io-rails/version.rb
CHANGED
@@ -60,14 +60,6 @@ RUN --mount=type=cache,id=dev-gem-cache,sharing=locked,target=/srv/vendor \
|
|
60
60
|
bundle lock --add-platform x86_64-linux && \
|
61
61
|
bundle config set path /srv/vendor && \
|
62
62
|
bundle install && \
|
63
|
-
<% if @redis and not @gemfile.include? 'redis' -%>
|
64
|
-
<% @bundle_add = true -%>
|
65
|
-
bundle add redis && \
|
66
|
-
<% end -%>
|
67
|
-
<% if @postgresql and not @gemfile.include? 'pg' -%>
|
68
|
-
<% @bundle_add = true -%>
|
69
|
-
bundle add pg && \
|
70
|
-
<% end -%>
|
71
63
|
mkdir -p vendor && \
|
72
64
|
bundle config set path vendor && \
|
73
65
|
cp -ar /srv/vendor .
|