-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Ruby 3.0.0 is not installing #229
Comments
FWIW, this works only with root user access but not the non-sudo(deploy user). - name: Provision Web server
hosts: web
strategy: free
roles:
- {
role: rvm.ruby,
tags: ['ruby'],
become: yes,
# rvm1_install_flags: '--auto-dotfiles', # Remove --user-install from defaults
# rvm1_install_path: /usr/local/rvm, # Set to system location
rvm1_install_flags: '--auto-dotfiles --user-install',
rvm1_install_path: '/home/{{ deploy_user }}/.rvm',
rvm1_rubies: ['ruby-3.0.0'],
# rvm1_user: "{{ deploy_user }}",
rvm1_user: "{{ root_user }}", # Need root account to access system location
rvm1_rvm_version: 'stable',
}
- {
role: fix_rvm_access,
tags: ['ruby', 'rvm_access'],
become: yes
} roles/fix_rvm_access/tasks/main.yml: ---
- name: Change dir access from root to app user
shell: chown -R app /home/{{ deploy_user }}/.rvm
become: true
- name: "Create ruby-3.0.0@{{ rvm_gemset_name }} gemset"
shell: /home/{{ deploy_user }}/.rvm/bin/rvm ruby-3.0.0 do /home/{{ deploy_user }}/.rvm/bin/rvm gemset create {{ rvm_gemset_name }}
|
@pkuczynski given that 3.0.0 lacks security fixes provided in later 3.0.x, I would probably close, unless the same issue also exists with 3.0.3 (https://www.ruby-lang.org/en/downloads/releases/). |
@suryart we will close for now, but let us know if the issue still exists and we will re-open... |
I am using Debian 10 buster ec2 machines for running the task:
When I run this I get the following error:
Any idea of what is going wrong here?
The text was updated successfully, but these errors were encountered: