我试图将存储库克隆到 AWS Elastic Beanstalk 实例上的 Rails 根目录
但我遇到以下错误
rb。
%x(git clone #{a["clone_url"]} #{Rails.root.join('repos',a["owner"]["login"],a["name"])})
/var/app/support/logs/passenger.log
2013/05/02 16:26:08 [error] 1741#0: *4 "/var/app/current/public/index.html" is not found (2: No such file or directory), client: 127.0.0.1, server: _, request: "HEAD / HTTP/1.1", host: "0.0.0.0"
(github) Request phase initiated.
(github) Callback phase initiated.
Rack: /var/app/current: No such file or directory - git clone https://github.com/henghonglee/BehaviorTree.git /var/app/current/repos/henghonglee/BehaviorTree
我已经在 ec2 实例上安装了 git 并设法独立执行克隆(不使用 Rails 应用程序)。