`rvm do ruby --version` was removed
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the task definitions behind rvm:check and deploy:check, then trace the command that invokes rvm do ruby --version. Update the check so it uses a supported RVM invocation, and confirm the affected Capistrano task completes successfully without the exit-status failure.
Written by the indexing model from the issue text.
Description
If I run the rvm:check or deploy:check tasks I get the following failed output:
#> cap staging deploy:check
DEBUG [7dcfdae8] Running /usr/local/rvm/bin/rvm version as <server>
DEBUG [7dcfdae8] Command: /usr/local/rvm/bin/rvm version
DEBUG [7dcfdae8] rvm 1.27.0 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
DEBUG [7dcfdae8]
DEBUG [7dcfdae8] Finished in 3.330 seconds with exit status 0 (successful).
rvm 1.27.0 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
DEBUG [a09777ec] Running /usr/local/rvm/bin/rvm current as <server>
DEBUG [a09777ec] Command: /usr/local/rvm/bin/rvm current
DEBUG [a09777ec] system
DEBUG [a09777ec] Finished in 0.599 seconds with exit status 0 (successful).
system
DEBUG [2174bae7] Running /usr/local/rvm/bin/rvm do ruby --version as <server>
DEBUG [2174bae7] Command: /usr/local/rvm/bin/rvm do ruby --version
DEBUG [2174bae7] `rvm do ruby --version` was removed, use `rvm 1.9.2,1.9.3 do ruby --version` or `rvm all do ruby --version` instead.
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as <server>: ruby exit status: 1
ruby stdout: `rvm do ruby --version` was removed, use `rvm 1.9.2,1.9.3 do ruby --version` or `rvm all do ruby --version` instead.
ruby stderr: Nothing written
SSHKit::Command::Failed: ruby exit status: 1
ruby stdout: `rvm do ruby --version` was removed, use `rvm 1.9.2,1.9.3 do ruby --version` or `rvm all do ruby --version` instead.
ruby stderr: Nothing written
Tasks: TOP => rvm:check
- 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#75 · 3 comments ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
TheOdinProject/curriculum#31512 ·
Maintainers usually reply within 1 day
-
area/web interface
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ruby-grape/grape-swagger#1014 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
rubys/roundhouse#1757 ·
-
Difficulty 2/5 Half a day Newbie friendliness 72/100
shakacode/react-on-rails-demo-flagship#102 ·
Maintainers usually reply within 1 day