Capistrano deployment failing with 'rbenv: /home/alexander/.rvm/bin/rvm: command not found'
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
Start with the reported Capistrano trace, especially the deploy:updated to bundler:install task chain and the SSHKit command failure. Reproduce the deployment with --trace and investigate why rbenv is looking for /home/alexander/.rvm/bin/rvm. Done means the bundle step completes without exit status 127.
Written by the indexing model from the issue text.
Description
I won't show the whole log but here's the error message:
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: bundle exit status: 127
bundle stdout: rbenv: /home/alexander/.rvm/bin/rvm: command not found
bundle stderr: Nothing written
SSHKit::Command::Failed: bundle exit status: 127
bundle stdout: rbenv: /home/alexander/.rvm/bin/rvm: command not found
bundle stderr: Nothing written
Tasks: TOP => deploy:updated => bundler:install
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as [email protected]: bundle exit status: 127
bundle stdout: rbenv: /home/alexander/.rvm/bin/rvm: command not found
bundle stderr: Nothing written
I have no idea what this means. Ideas?
- Dominant language
- Ruby
- Stars
- 140
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from capistrano/rvm
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
capistrano/rvm#86 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
capistrano/rvm#83 · 3 comments · 4 reactions ·
-
Execute with prefixOpen
Difficulty 3/5 1-2 days Newbie friendliness 45/100
capistrano/rvm#82 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
capistrano/rvm#77 · 6 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
capistrano/rvm#76 · 3 comments ·
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zold-io/zold-ruby-sdk#85 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100