8000 Using fully qualified path to rbenv for user install by cvanes · Pull Request #142 · zzet/rbenv · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Using fully qualified path to rbenv for user install #142

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

Merged
merged 1 commit into from
Apr 25, 2022

Conversation

cvanes
Copy link
Contributor
@cvanes cvanes commented Sep 12, 2019

Resolves issue where setting the default Ruby version for users was failing with an error like below.

TASK [zzet.rbenv : set ruby 2.5.6 for select users] ********************************************************************************************************************************
failed: [neptune] (item=[{'changed': False, 'end': '2019-09-12 23:10:16.341792', 'stdout': '', 'cmd': '$0 -lc "~/.rbenv/bin/rbenv version | cut -d \' \' -f 1 | grep -Fx \'2.5.6\'"', 'failed': False, 'delta': '0:00:00.036825', 'stderr': '', 'rc': 1, 'invocation': {'module_args': {'creates': None, 'executable': None, '_uses_shell': True, 'strip_empty_ends': True, '_raw_params': '$0 -lc "~/.rbenv/bin/rbenv version | cut -d \' \' -f 1 | grep -Fx \'2.5.6\'"', 'removes': None, 'argv': None, 'warn': True, 'chdir': None, 'stdin_add_newline': True, 'stdin': None}}, 'start': '2019-09-12 23:10:16.304967', 'msg': 'non-zero return code', 'stdout_lines': [], 'stderr_lines': [], 'failed_when_result': False, 'item': 'instil', 'ansible_loop_var': 'item'}, 'instil']) => {"ansible_loop_var": "item", "changed": true, "cmd": "$0 -lc \"~/.rbenv/bin/rbenv global 2.5.6 && rbenv rehash\"", "delta": "0:00:00.019968", "end": "2019-09-12 23:10:18.994751", "item": [{"ansible_loop_var": "item", "changed": false, "cmd": "$0 -lc \"~/.rbenv/bin/rbenv version | cut -d ' ' -f 1 | grep -Fx '2.5.6'\"", "delta": "0:00:00.036825", "end": "2019-09-12 23:10:16.341792", "failed": false, "failed_when_result": false, "invocation": {"module_args": {"_raw_params": "$0 -lc \"~/.rbenv/bin/rbenv version | cut -d ' ' -f 1 | grep -Fx '2.5.6'\"", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true}}, "item": "instil", "msg": "non-zero return code", "rc": 1, "start": "2019-09-12 23:10:16.304967", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}, "instil"], "msg": "non-zero return code", "rc": 127, "start": "2019-09-12 23:10:18.974783", "stderr": "/bin/sh: rbenv: command not found", "stderr_lines": ["/bin/sh: rbenv: command not found"], "stdout": "", "stdout_lines": []}

@zzet zzet merged commit 22334f8 into zzet:master Apr 25, 2022
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.

2 participants
0