Closed coofercat closed 2 years ago
By default, on Centos 7, files in /tmp cannot be executed (even if chmod 777) because the filesystem mount prevents it. The result is that all attempts to install RVM fail:
This also affects Ubuntu 16.04.3.
This seems to be still an issue .. workaround above works for me
This is still an issue it seems. I just encountered the same error on CentOS 8. The above change seems to get it working perfectly.
By default, on Centos 7, files in
/tmp
cannot be executed (even if chmod 777) because the filesystem mount prevents it. The result is that all attempts to install RVM fail:The solution is thankfully pretty simple - instead of running
/tmp/something
, just run/bin/bash /tmp/something
. Therefore, in tasks/rvm.yml, the task to install RVM becomes:Incidentally, using
shell
instead ofcommand
doesn't work either. As far as I can see, this minor change will be compatible with other distributions and versions though, so hopefully low-risk.