我正在尝试按照亚马逊指南将我的rails 5.0应用程序部署到EB。我还使用了webpacker配置文件
(https://github.com/shakacode/react_on_rails/blob/master/docs/additional-reading/elastic-beanstalk.md)解决了webpacker问题。
但是,现在看来它无法编译资产?
来自日志:
Compilation failed:
There was an error while trying to write to /var/app/ondeck/.bundle/config. It
is likely that you need to grant write permissions for that path.
Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/11_asset_compilation.sh
failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
在执行init时,我也遇到以下错误:
Note: Elastic Beanstalk now supports AWS CodeCommit; a fully-managed source control service. To learn more, see Docs: https://aws.amazon.com/codecommit/
Do you wish to continue with CodeCommit? (y/N) (default is n): n
ERROR: IOError ::