rvm / rvm1-ansible

The official ansible RVM role to install and manage your Ruby versions.
MIT License
271 stars 136 forks source link

Include '--no-tty' in gpg flags #182

Closed derekgottlieb closed 5 years ago

derekgottlieb commented 5 years ago

When importing gpg keys, some platforms may encounter the following error since it's being used from a non-interactive shell:

"gpg: cannot open '/dev/tty': No such device or address"

derekgottlieb commented 5 years ago

Attempts to address issue reported in https://github.com/rvm/rvm1-ansible/issues/183 for Debian

derekgottlieb commented 5 years ago

Looks like this is actually a Debian issue. In reading through the discussion, it looks like a fix should be out "soon" (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913614#45). Going to go ahead and close this out along with the associated issue.