installation fails on Ubuntu 20.04 for Ruby 2.5.2
timvoet opened this issue · 3 comments
timvoet commented
Running the role on a Ubuntu 20.04 fails.
Configuration values are
ruby_install_gems_user: deploy
ruby_version: 2.5.2
ruby_install_from_source: true
ruby_download_url: "https://cache.ruby-lang.org/pub/ruby/{{ ruby.main_version }}/ruby-{{ ruby.specific_version }}.tar.gz"
TASK [geerlingguy.ruby : Build ruby.] *************************************************************************************************
failed: [linode] (item=./configure --enable-shared) => {"ansible_loop_var": "item", "changed": true, "cmd": ["./configure", "--enable-shared"], "delta": "0:00:00.298521", "end": "2021-07-05 16:08:44.201176", "item": "./configure --enable-shared", "msg": "non-zero return code", "rc": 127, "start": "2021-07-05 16:08:43.902655", "stderr": "configure: error: cannot run /bin/bash tool/config.sub", "stderr_lines": ["configure: error: cannot run /bin/bash tool/config.sub"], "stdout": "checking for ruby... false", "stdout_lines": ["checking for ruby... false"]}
failed: [linode] (item=make) => {"ansible_loop_var": "item", "changed": true, "cmd": ["make"], "delta": "0:00:00.010114", "end": "2021-07-05 16:08:45.349582", "item": "make", "msg": "non-zero return code", "rc": 2, "start": "2021-07-05 16:08:45.339468", "stderr": "make: *** No targets specified and no makefile found. Stop.", "stderr_lines": ["make: *** No targets specified and no makefile found. Stop."], "stdout": "", "stdout_lines": []}
failed: [linode] (item=make install) => {"ansible_loop_var": "item", "changed": true, "cmd": ["make", "install"], "delta": "0:00:00.006554", "end": "2021-07-05 16:08:46.621562", "item": "make install", "msg": "non-zero return code", "rc": 2, "start": "2021-07-05 16:08:46.615008", "stderr": "make: *** No rule to make target 'install'. Stop.", "stderr_lines": ["make: *** No rule to make target 'install'. Stop."], "stdout": "", "stdout_lines": []}
timvoet commented
2.6.2 compiles without any issues though.
stale commented
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
stale commented
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.