![](/img/trans.png)
[英]Elastic Beanstalk .ebextensions .config file run's occasionally, not others
[英]Elastic Beanstalk Rails not running .ebextensions
我試圖將我的 Rails 項目部署到彈性 beantalk。 但是, .ebextensions
文件夾中的命令沒有運行。 我確信它沒有運行,因為我有這樣的寶石:
gem 'ckeditor', github: 'galetahub/ckeditor'
它需要git
來克隆 gem,而我的部署在這一點上失敗了。
[Instance: i-000294aa0a767f205] Command failed on instance. Return code: 11 Output: (TRUNCATED)...t error: command `git clone 'https://github.com/galetahub/ckeditor.git'
"/opt/rubies/ruby-2.6.5/lib/ruby/gems/2.6.0/cache/bundler/git/ckeditor-1fd593e0d9f7d7cbd0713285fc8f7edcb38af06e"
我嘗試了 YAML linting,文件沒有語法錯誤。
我檢查了文件位置也正確。
什么不工作?
感謝reddit上的這個帖子,我需要提交或至少暫存文件
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.