# .ebextensions/swap.config
commands:
000_swap:
ignoreErrors: true
test: test ! -f /swapfile
command: dd if=/dev/zero of=/swapfile bs=1M count=4096 && mkswap /swapfile && swapon /swapfileunless Rails.env.production?
commands:
000_swap:
ignoreErrors: true
test: test ! -f /swapfile
command: dd if=/dev/zero of=/swapfile bs=1M count=4096 && mkswap /swapfile && swapon /swapfile
000_bundler:
ignoreErrors: true
command: gem install bundler -v 2.2.16