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

Hangs on rvm:hook with capistrano 3.3.3 #61

Open
vidmantas opened this issue Dec 1, 2014 · 6 comments
Open

Hangs on rvm:hook with capistrano 3.3.3 #61

vidmantas opened this issue Dec 1, 2014 · 6 comments

Comments

@vidmantas
Copy link

Hello,

I have capistrano 3.2.1 running with capistrano-rvm normally, but after trying to upgrade to 3.3.3, I get hanging process -- seems like forever -- during rvm:hook task (also note double -d ~/.rvm commant, which was not the case in 3.2.1):

➜  repo git:(capistrano3) ✗ cap test deploy
DEBUG[cc47b8d0] Running /usr/bin/env [ -d ~/.rvm ] on test.myapp.com
DEBUG[cc47b8d0] Command: [ -d ~/.rvm ]
DEBUG[b89780bb] Running /usr/bin/env [ -d ~/.rvm ] on test.myapp.com
DEBUG[b89780bb] Command: [ -d ~/.rvm ]
DEBUG[b89780bb] Finished in 0.544 seconds with exit status 0 (successful).
^C(Backtrace restricted to imported tasks)
cap aborted!
Interrupt: 

Tasks: TOP => rvm:hook
(See full trace by running task with --trace)
@doe300
Copy link

doe300 commented Feb 2, 2015

Same here:

DEBUG [7a6f7459] Running /usr/bin/env [ -d ~/.rvm ] as ****@********
DEBUG [7a6f7459] Command: [ -d ~/.rvm ]
DEBUG [789b3ce5] Running /usr/bin/env [ -d ~/.rvm ] as ****@********
DEBUG [789b3ce5] Command: [ -d ~/.rvm ]
DEBUG [789b3ce5] Finished in 5.239 seconds with exit status 1 (failed).
DEBUG [471e48f2] Running /usr/bin/env [ -d /usr/local/rvm ] as ****@********
DEBUG [471e48f2] Command: [ -d /usr/local/rvm ]
DEBUG [471e48f2] Finished in 0.005 seconds with exit status 0 (successful).
^C(Backtrace restricted to imported tasks)
cap aborted!
Interrupt: 

Tasks: TOP => rvm:hook
(See full trace by running task with --trace)

Just set up capistrano with rvm so can't say since when this error occurs.

@emirkin
Copy link

emirkin commented Apr 17, 2015

You probably don't have rvm installed. I ran into the same problem before.

@vidmantas
Copy link
Author

First thing I do is rvm installation ;-) so not the case

@emirkin
Copy link

emirkin commented Apr 17, 2015

Did you see #66?

To be clear, I have solved my problem by suppressing :hook until after I install rvm.

@vidmantas
Copy link
Author

rvm is installed on the server, no problems using it with 3.2.1

However, I'll ask to check this with suppressing :hook and return with outcome

@onlinetocode
Copy link

@emirkin how do you suppressing :hook?

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

No branches or pull requests

4 participants