Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full path to tmp/restart.txt #77

Merged
merged 1 commit into from
Jan 19, 2013
Merged

Full path to tmp/restart.txt #77

merged 1 commit into from
Jan 19, 2013

Conversation

ineu
Copy link
Contributor

@ineu ineu commented Dec 22, 2012

Example deploy.rb copied by mina init contains 'touch tmp/restart.txt' which is not working:

-----> Launching
       touch: cannot touch `tmp/restart.txt': No such file or directory
 !     ERROR: Deploy failed.

This fixes it using full path.

@sethvargo
Copy link

👍

@MSchmidt
Copy link

This should actually be

queue "touch #{deploy_to}/#{current_path}/tmp/restart.txt"

Current patch gets around the error message, but doesn't actually restart the application!

rstacruz added a commit that referenced this pull request Jan 19, 2013
Full path to tmp/restart.txt
@rstacruz rstacruz merged commit 96cb72f into mina-deploy:master Jan 19, 2013
@ineu ineu deleted the deployrb-fix branch January 19, 2013 16:15
@abacha
Copy link

abacha commented Feb 1, 2013

I'm using the github version and still having the same error

@ineu
Copy link
Contributor Author

ineu commented Feb 10, 2013

Yes, my mistake, sorry. It should use current_path indeed. Proper fix is in #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants