BathHacked/energy-sparks

View on GitHub
.ebextensions/bootsnap.config

Summary

Maintainability
Test Coverage
# prevents occasional deploy error:
# An error occurred during execution of command [app-deploy] - [flip ruby application]. Stop running the command.
# Error: remove current dir failed: unlinkat /var/app/current/tmp/cache/bootsnap/compile-cache-iseq: directory not empty

option_settings:
  aws:elasticbeanstalk:application:environment:
    BOOTSNAP_CACHE_DIR: /var/cache/bootsnap

commands:
    cache_dir:
        command: install -o "$(/opt/elasticbeanstalk/bin/get-config platformconfig -k AppUser)" -d /var/cache/bootsnap