in /opt/elasticbeanstalk/hooks/appdeploy/pre/11_asset_compilation.sh
Replace bundle
with bundle exec
at line 13
in /opt/elasticbeanstalk/hooks/appdeploy/pre/10_bundle_install.sh
Add --deployment
after bundle install
at line 9
$ mkdir /var/app/support/vendor_bundle
in /opt/elasticbeanstalk/support/envvars
Add export EB_CONFIG_APP_VENDOR_BUNDLE=$EB_CONFIG_APP_SUPPORT/vendor_bundle
in /opt/elasticbeanstalk/hooks/appdeploy/pre/10_bundle_install.sh
Add ln -s $EB_CONFIG_APP_VENDOR_BUNDLE ./vendor/bundle