Closed andrba closed 7 years ago
Hi @andrba,
I don't believe adding hard-coded compilation configuration environment variables is a good idea in a playbook.
However you are right it is for now not possible to override the env used during the ruby compilation.
The PR https://github.com/zzet/ansible-rbenv-role/pull/85 adds the possibility the add env variables for a specific ruby installation. Would you want to give it a try?
We have used this branch to successfully install the newest ruby 2.3 with extra compilation options on all our production servers at Train line Europe. Let me know what you think about this solution.
Hi @paulRbr, thanks for pointing out that PR. The approach you used in it is so much better. Closing this PR in favour of #85
On VMs with 512Mb ram rbenv install fails with the following error:
This modification is to ensure there is no documentation to set up during the installation: