ruby on rails - Rack: /var/app/current: No such file or directory on Elastic beanstalk -


im trying clone repository onto rails root on aws elastic beanstalk instance

but im experiencing following error

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" 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 

i have installed git on ec2 instance , managed perform clone independantly(not using rails app).

should have done in '/var/app/ondeck' instead?

you didn't provide when cloning executed. safe, test if folder exists. should under container_commands, , it's '/var/app/ondeck', don't mess current.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -